java.lang.Object | |
↳ | org.apache.commons.collections.bidimap.AbstractDualBidiMap.BidiMapIterator |
Inner class MapIterator.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
canRemove | Whether remove is allowed at present | ||||||||||
iterator | The iterator being wrapped | ||||||||||
last | The last returned entry | ||||||||||
parent | The parent map |
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructor.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Gets the current key, which is the key returned by the last call
to
next() . | |||||||||||
Gets the current value, which is the value associated with the last key
returned by
next() . | |||||||||||
Checks to see if there are more entries still to be iterated.
| |||||||||||
Gets the next key from the
Map . | |||||||||||
Removes the last returned key from the underlying
Map (optional operation). | |||||||||||
Resets the iterator back to the position at which the iterator
was created.
| |||||||||||
Sets the value associated with the current key (optional operation).
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
java.util.Iterator
| |||||||||||
From interface
org.apache.commons.collections.MapIterator
| |||||||||||
From interface
org.apache.commons.collections.ResettableIterator
|
Whether remove is allowed at present
Constructor.
parent | the parent map |
---|
Gets the current key, which is the key returned by the last call
to next()
.
Gets the current value, which is the value associated with the last key
returned by next()
.
Checks to see if there are more entries still to be iterated.
true
if the iterator has more elements
Removes the last returned key from the underlying Map
(optional operation).
This method can be called once per call to next()
.
Resets the iterator back to the position at which the iterator was created.
Sets the value associated with the current key (optional operation).
value | the new value |
---|