class TreeBidiMap.ViewMapIterator extends TreeBidiMap.ViewIterator implements OrderedMapIterator<K,V>
lastReturnedNode| Constructor and Description |
|---|
ViewMapIterator(TreeBidiMap.DataElement orderType)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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. |
K |
previous()
Gets the previous key from the
Map. |
V |
setValue(V 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, removeViewMapIterator(TreeBidiMap.DataElement orderType)
public K getKey()
MapIteratornext().public V getValue()
MapIteratornext().public V setValue(V obj)
MapIteratorpublic K next()
MapIteratorMap.public K previous()
OrderedMapIteratorMap.previous in interface OrderedIterator<K extends java.lang.Comparable<K>>previous in interface OrderedMapIterator<K extends java.lang.Comparable<K>,V extends java.lang.Comparable<V>>