java.util.Iterator, MapIterator, OrderedIteratorAbstractLinkedMap.LinkMapIterator, AbstractOrderedMapIteratorDecorator, DualTreeBidiMap.BidiOrderedMapIterator, EmptyOrderedMapIterator, UnmodifiableOrderedMapIteratorpublic interface OrderedMapIterator extends MapIterator, OrderedIterator
Map.
This iterator allows both forward and reverse iteration through the map.
| Modifier and Type | Method | Description |
|---|---|---|
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. |
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 finishedCopyright © 2001-2018 Apache Software Foundation. All Rights Reserved.