private static final class NodePrinter.NodeListIteratorWrapper
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private java.util.ListIterator |
_itr |
| Constructor and Description |
|---|
NodeListIteratorWrapper(TypeCheckingList.TypeCheckingListIterator itr) |
| Modifier and Type | Method and Description |
|---|---|
int |
currentIndex() |
int |
moveTo(int index)
Moves the iterator to a point in the iterator where the next index is
index. |
void |
moveToBeginning()
Move to the initial position in the list (where nextNode() returns the first node in the list
|
void |
moveToFirst()
Move to the first postion in the iterator
|
void |
moveToLast()
Move to the last position in the iterator
|
Node |
nextNode() |
Node |
previousNode() |
public NodeListIteratorWrapper(TypeCheckingList.TypeCheckingListIterator itr)
public Node nextNode()
public Node previousNode()
public int currentIndex()
public int moveTo(int index)
index.public void moveToBeginning()
public void moveToFirst()
public void moveToLast()