protected static class AbstractDualBidiMap.ValuesIterator<V> extends AbstractIteratorDecorator<V>
Modifier and Type | Field and Description |
---|---|
protected boolean |
canRemove
Whether remove is allowed at present
|
protected V |
lastValue
The last returned value
|
protected AbstractDualBidiMap<java.lang.Object,V> |
parent
The parent map
|
Modifier | Constructor and Description |
---|---|
protected |
ValuesIterator(java.util.Iterator<V> iterator,
AbstractDualBidiMap<?,V> parent)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
V |
next() |
void |
remove() |
getIterator, hasNext
protected final AbstractDualBidiMap<java.lang.Object,V> parent
protected V lastValue
protected boolean canRemove
protected ValuesIterator(java.util.Iterator<V> iterator, AbstractDualBidiMap<?,V> parent)
iterator
- the iterator to decorateparent
- the parent mappublic V next()
AbstractIteratorDecorator
next
in interface java.util.Iterator<V>
next
in class AbstractIteratorDecorator<V>
public void remove()
remove
in interface java.util.Iterator<V>
remove
in class AbstractUntypedIteratorDecorator<V,V>