|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Defines an iterator that operates over an ordered Map
.
This iterator allows both forward and reverse iteration through the map.
Method Summary | |
boolean |
hasPrevious()
Checks to see if there is a previous entry that can be iterated to. |
Object |
previous()
Gets the previous key from the Map . |
Methods inherited from interface org.apache.commons.collections.MapIterator |
getKey, getValue, hasNext, next, remove, setValue |
Method Detail |
public boolean hasPrevious()
hasPrevious
in interface OrderedIterator
true
if the iterator has a previous elementpublic Object previous()
Map
.
previous
in interface OrderedIterator
NoSuchElementException
- if the iteration is finished
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |