|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.collections4.map.AbstractHashedMap.HashIterator<K,V>
org.apache.commons.collections4.map.AbstractHashedMap.HashMapIterator<K,V>
protected static class AbstractHashedMap.HashMapIterator<K,V>
MapIterator implementation.
Constructor Summary | |
---|---|
protected |
AbstractHashedMap.HashMapIterator(AbstractHashedMap<K,V> parent)
|
Method Summary | |
---|---|
K |
getKey()
Gets the current key, which is the key returned by the last call to next() . |
V |
getValue()
Gets the current value, which is the value associated with the last key returned by next() . |
K |
next()
Gets the next key from the Map . |
V |
setValue(V value)
Sets the value associated with the current key (optional operation). |
Methods inherited from class org.apache.commons.collections4.map.AbstractHashedMap.HashIterator |
---|
currentEntry, hasNext, nextEntry, remove, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.apache.commons.collections4.MapIterator |
---|
hasNext, remove |
Constructor Detail |
---|
protected AbstractHashedMap.HashMapIterator(AbstractHashedMap<K,V> parent)
Method Detail |
---|
public K next()
MapIterator
Map
.
next
in interface Iterator<K>
next
in interface MapIterator<K,V>
public K getKey()
MapIterator
next()
.
getKey
in interface MapIterator<K,V>
public V getValue()
MapIterator
next()
.
getValue
in interface MapIterator<K,V>
public V setValue(V value)
MapIterator
setValue
in interface MapIterator<K,V>
value
- the new value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |