| CS 1371 Dept. Presents: |
Class LLNode
| Method Summary | |
|---|---|
| LLNode (data, next) Constructor that creates a node object containing data and next |
|
The string representation of the Queue |
|
| display ( )
Command window display of a LLNode |
|
| getData ( )
Get the data field from an LLNode |
|
|
getNext ( ) Get the next field from an LLNode |
|
|
setNext ( ) Set the next slot of a LLNode |
|
| Method Detail |
|---|
LLNode
n = LLNode(v) creates a node object from the vector v, containing data and next