protected static class AbstractDualBidiMap.KeySetIterator extends AbstractIteratorDecorator
Modifier and Type | Field and Description |
---|---|
protected boolean |
canRemove
Whether remove is allowed at present
|
protected Object |
lastKey
The last returned key
|
protected AbstractDualBidiMap |
parent
The parent map
|
iterator
Modifier | Constructor and Description |
---|---|
protected |
KeySetIterator(Iterator iterator,
AbstractDualBidiMap parent)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
Object |
next() |
void |
remove() |
getIterator, hasNext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
protected final AbstractDualBidiMap parent
protected Object lastKey
protected boolean canRemove
protected KeySetIterator(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–2017 The Apache Software Foundation. All rights reserved.