|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Untamed:
Method Summary | |
void |
add(Object o)
Enabled: Inserts the specified element into the list (optional operation). |
boolean |
hasNext()
Enabled: Returns true if this list iterator has more elements when traversing the list in the forward direction. |
boolean |
hasPrevious()
Enabled: Returns true if this list iterator has more elements when traversing the list in the reverse direction. |
Object |
next()
Enabled: Returns the next element in the list. |
int |
nextIndex()
Enabled: Returns the index of the element that would be returned by a subsequent call to next. |
Object |
previous()
Enabled: Returns the previous element in the list. |
int |
previousIndex()
Enabled: Returns the index of the element that would be returned by a subsequent call to previous. |
void |
remove()
Enabled: Removes from the list the last element that was returned by next or previous (optional operation). |
void |
set(Object o)
Enabled: Replaces the last element returned by next or previous with the specified element (optional operation). |
Method Detail |
public boolean hasNext()
hasNext
in interface Iterator
public Object next()
next
in interface Iterator
public boolean hasPrevious()
public Object previous()
public int nextIndex()
public int previousIndex()
public void remove()
remove
in interface Iterator
public void set(Object o)
o
- the element with which to replace the last element returned by
next or previous.public void add(Object o)
o
- the element to insert.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |