|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface OrderedMapIterator
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. |
java.lang.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 |
|---|
boolean hasPrevious()
hasPrevious in interface OrderedIteratortrue if the iterator has a previous elementjava.lang.Object previous()
Map.
previous in interface OrderedIteratorjava.util.NoSuchElementException - if the iteration is finished
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||