Class AbstractDualBidiMap.ValuesIterator<V>
java.lang.Object
org.apache.commons.collections4.iterators.AbstractUntypedIteratorDecorator<E,E>
org.apache.commons.collections4.iterators.AbstractIteratorDecorator<V>
org.apache.commons.collections4.bidimap.AbstractDualBidiMap.ValuesIterator<V>
- Type Parameters:
V
- the value type.
- All Implemented Interfaces:
Iterator<V>
- Enclosing class:
- AbstractDualBidiMap<K,
V>
Inner class ValuesIterator.
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
ValuesIterator
(Iterator<V> iterator, AbstractDualBidiMap<?, V> 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 -
lastValue
The last returned value -
canRemove
Whether remove is allowed at present
-
-
Constructor Details
-
ValuesIterator
Constructs a new instance.- Parameters:
iterator
- the iterator to decorateparent
- the parent map
-
-
Method Details
-
next
Description copied from class:AbstractIteratorDecorator
-
remove
-