Method Summary |
|
void | add(E object) Inserts the specified object into the list between next
and previous . |
public boolean | hasNext() Answers if there are more elements to iterate. |
public boolean | hasPrevious() Answers if there are previous elements to iterate. |
public E | next() Answers the next object in the iteration. |
public int | nextIndex() Answers the index of the next object in the iteration. |
public E | previous() Answers the previous object in the iteration. |
public int | previousIndex() Answers the index of the previous object in the iteration. |
public void | remove() Removes the last object returned by next or
previous from the list. |
void | set(E object) Replaces the last object returned by next or
previous with the specified object. |