static class TreeBidiMap.ViewMapIterator extends TreeBidiMap.ViewIterator implements OrderedMapIterator
| Modifier and Type | Field and Description |
|---|---|
private int |
oppositeType |
dataType, lastReturnedNode, main, nextNode, orderType, previousNode| Constructor and Description |
|---|
ViewMapIterator(TreeBidiMap main,
int orderType)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getKey()
Gets the current key, which is the key returned by the last call
to
next(). |
java.lang.Object |
getValue()
Gets the current value, which is the value associated with the last key
returned by
next(). |
java.lang.Object |
setValue(java.lang.Object obj)
Sets the value associated with the current key (optional operation).
|
doGetData, hasNext, hasPrevious, next, previous, removeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithasPrevious, previoushasNext, next, removeViewMapIterator(TreeBidiMap main, int orderType)
main - the main maporderType - the KEY or VALUE int for the orderpublic java.lang.Object getKey()
MapIteratornext().getKey in interface MapIteratorpublic java.lang.Object getValue()
MapIteratornext().getValue in interface MapIteratorpublic java.lang.Object setValue(java.lang.Object obj)
MapIteratorsetValue in interface MapIteratorobj - the new value