class TreeBidiMap.InverseViewMapIterator extends TreeBidiMap.ViewIterator implements OrderedMapIterator<V,K>
lastReturnedNode
Constructor and Description |
---|
InverseViewMapIterator(TreeBidiMap.DataElement orderType)
Create a new TreeBidiMap.InverseViewMapIterator.
|
Modifier and Type | Method and Description |
---|---|
V |
getKey()
Gets the current key, which is the key returned by the last call
to
next() . |
K |
getValue()
Gets the current value, which is the value associated with the last key
returned by
next() . |
V |
next()
Gets the next key from the
Map . |
V |
previous()
Gets the previous key from the
Map . |
K |
setValue(K obj)
Sets the value associated with the current key (optional operation).
|
hasNext, hasPrevious, navigateNext, navigatePrevious, remove
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
hasPrevious
hasNext, remove
public InverseViewMapIterator(TreeBidiMap.DataElement orderType)
public V getKey()
MapIterator
next()
.public K getValue()
MapIterator
next()
.public K setValue(K obj)
MapIterator
public V next()
MapIterator
Map
.public V previous()
OrderedMapIterator
Map
.previous
in interface OrderedIterator<V extends java.lang.Comparable<V>>
previous
in interface OrderedMapIterator<V extends java.lang.Comparable<V>,K extends java.lang.Comparable<K>>