public class LinkedListItr<E>
extends java.lang.Object
LinkedList
Modifier and Type | Method and Description |
---|---|
void |
advance()
Advance the current position to the next node in the list.
|
boolean |
isPastEnd()
Test if the current position is past the end of the list.
|
E |
retrieve()
Return the item stored in the current position.
|
public boolean isPastEnd()
public E retrieve()
public void advance()