|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OrderedIterator<E>
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. |
E |
previous()
Gets the previous element from the collection. |
Methods inherited from interface java.util.Iterator |
---|
hasNext, next, remove |
Method Detail |
---|
boolean hasPrevious()
true
if the iterator has a previous elementE previous()
NoSuchElementException
- if the iteration is finished
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |