JavaAlgorithms
Elementary and no so elementary Java algorithms
|
Public Member Functions | |
ListNodeIterator (ListNode< T > listNode) | |
boolean | hasNext () |
ListNode< T > | next () |
void | remove () |
ListNodeIterator
Support for iteration over a list. Jun 16, 2013
<T> |
Definition at line 23 of file ListNodeIterator.java.
listAlgorithms.ListNodeIterator< T extends Comparable< T > >.ListNodeIterator | ( | ListNode< T > | listNode | ) |
Initialize the Iterator. A small array is constructed from the node children. It is this array that is iterated over.
listNode |
Definition at line 33 of file ListNodeIterator.java.
boolean listAlgorithms.ListNodeIterator< T extends Comparable< T > >.hasNext | ( | ) |
Definition at line 38 of file ListNodeIterator.java.
ListNode<T> listAlgorithms.ListNodeIterator< T extends Comparable< T > >.next | ( | ) |
Definition at line 43 of file ListNodeIterator.java.
void listAlgorithms.ListNodeIterator< T extends Comparable< T > >.remove | ( | ) |
Definition at line 52 of file ListNodeIterator.java.