protected static class AbstractDualBidiMap.ValuesIterator extends AbstractIteratorDecorator
Modifier and Type | Field and Description |
---|---|
protected boolean |
canRemove
Whether remove is allowed at present
|
protected Object |
lastValue
The last returned value
|
protected AbstractDualBidiMap |
parent
The parent map
|
iterator
Modifier | Constructor and Description |
---|---|
protected |
AbstractDualBidiMap.ValuesIterator(Iterator iterator,
AbstractDualBidiMap parent)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Object |
next() |
void |
remove() |
getIterator, hasNext
protected final AbstractDualBidiMap parent
protected Object lastValue
protected boolean canRemove
protected AbstractDualBidiMap.ValuesIterator(Iterator iterator, AbstractDualBidiMap parent)
iterator
- the iterator to decorateparent
- the parent mappublic Object next()
next
in interface Iterator
next
in class AbstractIteratorDecorator
public void remove()
remove
in interface Iterator
remove
in class AbstractIteratorDecorator
Copyright © 2001–2015 The Apache Software Foundation. All rights reserved.