SListNode |
A singly linked list node.
Each node acts as a data container and stores a reference to the next node in the list.
SListNode | A singly linked list node. |
Variables | |
data | The node’s data. |
next | The next node in the list being referenced. |
Functions | |
SListNode | Creates a new node storing a given item. |
insertAfter | A helper function used solely by the SLinkedList class for inserting a given node after this node. |
toString | Prints out a string representing the current object. |
The node’s data.
public var data: *
The next node in the list being referenced.
public var next: SListNode
Creates a new node storing a given item.
public function SListNode( obj: * )
A helper function used solely by the SLinkedList class for inserting a given node after this node.
public function insertAfter( node: SListNode ):void
Prints out a string representing the current object.
public function toString():String