A linked list enumerator. More...
Public Member Functions | |
T | getCurrent () |
Gets the current value. More... | |
fm.liveswitch.LinkedListNode< T > | getCurrentNode () |
Gets the current node. More... | |
LinkedListEnumerator (fm.liveswitch.LinkedListNode< T > root) | |
Initializes a new instance of the fm.liveswitch.LinkedListEnumerator class. More... | |
boolean | moveNext () |
Moves to the next node. More... | |
void | reset () |
Resets this instance. More... | |
A linked list enumerator.
fm.liveswitch.LinkedListEnumerator< T >.LinkedListEnumerator | ( | fm.liveswitch.LinkedListNode< T > | root | ) |
Initializes a new instance of the fm.liveswitch.LinkedListEnumerator class.
root | The root node. |
T fm.liveswitch.LinkedListEnumerator< T >.getCurrent | ( | ) |
Gets the current value.
fm.liveswitch.LinkedListNode<T> fm.liveswitch.LinkedListEnumerator< T >.getCurrentNode | ( | ) |
Gets the current node.
boolean fm.liveswitch.LinkedListEnumerator< T >.moveNext | ( | ) |
Moves to the next node.
void fm.liveswitch.LinkedListEnumerator< T >.reset | ( | ) |
Resets this instance.