|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Defines an iterator that operates over a ordered collections.
This iterator allows both forward and reverse iteration through the collection.
Method Summary | |
boolean |
hasPrevious()
Checks to see if there is a previous entry that can be iterated to. |
Object |
previous()
Gets the previous element from the collection. |
Methods inherited from interface java.util.Iterator |
hasNext, next, remove |
Method Detail |
public boolean hasPrevious()
true
if the iterator has a previous elementpublic Object previous()
NoSuchElementException
- if the iteration is finished
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |