Class AbstractDualBidiMap.KeySetIterator<K>
java.lang.Object
org.apache.commons.collections4.iterators.AbstractUntypedIteratorDecorator<K,K>
org.apache.commons.collections4.iterators.AbstractIteratorDecorator<K>
org.apache.commons.collections4.bidimap.AbstractDualBidiMap.KeySetIterator<K>
- Type Parameters:
K
- the key type.
- All Implemented Interfaces:
Iterator<K>
- Enclosing class:
AbstractDualBidiMap<K,
V>
Inner class KeySetIterator.
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
KeySetIterator
(Iterator<K> iterator, AbstractDualBidiMap<K, ?> parent) Constructs a new instance. -
Method Summary
Methods inherited from class org.apache.commons.collections4.iterators.AbstractUntypedIteratorDecorator
getIterator, hasNext
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Field Details
-
parent
The parent map -
lastKey
The last returned key -
canRemove
Whether remove is allowed at present
-
-
Constructor Details
-
KeySetIterator
Constructs a new instance.- Parameters:
iterator
- the iterator to decorateparent
- the parent map
-
-
Method Details
-
next
Description copied from class:AbstractIteratorDecorator
-
remove
-