|
||||||||||
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 an ordered collection.
This iterator allows both forward and reverse iteration through the collection.
Method Summary | |
---|---|
boolean |
hasPrevious()
Checks to see if there is a previous element 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()
java.util.NoSuchElementException
- if the iteration is finished
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |