| Modifier and Type | Field and Description |
|---|---|
| pack-priv transient Map. | entry
The currently positioned Map entry. |
| pack-priv Set | entrySet
The adapted Map entry Set. |
| pack-priv transient Iterator | iterator
The resettable iterator in use. |
| Access | Constructor and Description |
|---|---|
| public | EntrySetToMapIteratorAdapter(final Set<Map.
the entrySet to adapt entrySetCreate a new EntrySetToMapIteratorAdapter. |
| Modifier and Type | Method and Description |
|---|---|
| protected synchronized Map. | |
| public K | getKey()
Implements org. next().
|
| public V | getValue()
Implements org. next().
|
| public boolean | hasNext()
Implements org. |
| public K | next()
Implements org. Map.
|
| public void | remove()
Overrides default java. Implements org. Map (optional operation).
|
| public synchronized void | reset()
Implements org. |
| public V | setValue(final V
the new value value)Implements org. |
| entry | back to summary |
|---|---|
| pack-priv transient Map. The currently positioned Map entry. | |
| entrySet | back to summary |
|---|---|
| pack-priv Set<Map. The adapted Map entry Set. | |
| iterator | back to summary |
|---|---|
| pack-priv transient Iterator<Map. The resettable iterator in use. | |
| EntrySetToMapIteratorAdapter | back to summary |
|---|---|
| public EntrySetToMapIteratorAdapter(final Set<Map. Create a new EntrySetToMapIteratorAdapter. | |
| current | back to summary |
|---|---|
| protected synchronized Map. Get the currently active entry. | |
| getKey | back to summary |
|---|---|
| public K getKey() Implements org. Doc from org. Gets the current key, which is the key returned by the last call
to
| |
| getValue | back to summary |
|---|---|
| public V getValue() Implements org. Doc from org. Gets the current value, which is the value associated with the last key
returned by
| |
| hasNext | back to summary |
|---|---|
| public boolean hasNext() Implements org. Doc from org. Checks to see if there are more entries still to be iterated.
| |
| next | back to summary |
|---|---|
| public K next() Implements org. Doc from org. Gets the next key from the
| |
| remove | back to summary |
|---|---|
| public void remove() Overrides default java. Implements org. Doc from org. Removes the last returned key from the underlying
This method can be called once per call to
| |
| reset | back to summary |
|---|---|
| public synchronized void reset() Implements org. Doc from org. Resets the iterator back to the position at which the iterator was created.
| |
| setValue | back to summary |
|---|---|
| public V setValue(final V value) Implements org. Doc from org. Sets the value associated with the current key (optional operation).
| |