|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.collections4.map.EntrySetToMapIteratorAdapter<K,V>
org.apache.commons.collections4.map.AbstractSortedMapDecorator.SortedMapIterator<K,V>
K
- the key typeV
- the value typeprotected static class AbstractSortedMapDecorator.SortedMapIterator<K,V>
OrderedMapIterator implementation.
Constructor Summary | |
---|---|
protected |
AbstractSortedMapDecorator.SortedMapIterator(Set<Map.Entry<K,V>> entrySet)
Create a new AbstractSortedMapDecorator.SortedMapIterator. |
Method Summary | |
---|---|
boolean |
hasPrevious()
Checks to see if there is a previous element that can be iterated to. |
K |
previous()
Gets the previous element from the container. |
void |
reset()
Resets the iterator back to the position at which the iterator was created. |
Methods inherited from class org.apache.commons.collections4.map.EntrySetToMapIteratorAdapter |
---|
current, getKey, getValue, hasNext, next, remove, setValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.commons.collections4.MapIterator |
---|
getKey, getValue, hasNext, next, remove, setValue |
Constructor Detail |
---|
protected AbstractSortedMapDecorator.SortedMapIterator(Set<Map.Entry<K,V>> entrySet)
entrySet
- the entrySet to iterateMethod Detail |
---|
public void reset()
reset
in interface ResettableIterator<K>
reset
in class EntrySetToMapIteratorAdapter<K,V>
public boolean hasPrevious()
hasPrevious
in interface OrderedIterator<K>
hasPrevious
in interface OrderedMapIterator<K,V>
true
if the iterator has a previous elementpublic K previous()
previous
in interface OrderedIterator<K>
previous
in interface OrderedMapIterator<K,V>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |