static class AbstractReferenceMap.ReferenceMapIterator extends AbstractReferenceMap.ReferenceEntrySetIterator implements MapIterator
currentKey, currentValue, entry, expectedModCount, index, nextKey, nextValue, parent, previous| Modifier | Constructor and Description |
|---|---|
protected |
ReferenceMapIterator(AbstractReferenceMap parent) |
| 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 |
next()
Gets the next key from the
Map. |
java.lang.Object |
setValue(java.lang.Object value)
Sets the value associated with the current key (optional operation).
|
currentEntry, hasNext, nextEntry, removeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithasNext, removeprotected ReferenceMapIterator(AbstractReferenceMap parent)
public java.lang.Object next()
MapIteratorMap.next in interface java.util.Iteratornext in interface MapIteratornext in class AbstractReferenceMap.ReferenceEntrySetIteratorpublic 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 value)
MapIteratorsetValue in interface MapIteratorvalue - the new value