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, removeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithasPrevioushasNext, removepublic InverseViewMapIterator(TreeBidiMap.DataElement orderType)
public V getKey()
MapIteratornext().public K getValue()
MapIteratornext().public K setValue(K obj)
MapIteratorpublic V next()
MapIteratorMap.public V previous()
OrderedMapIteratorMap.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>>