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