protected static class AbstractDualBidiMap.KeySetIterator<K> extends AbstractIteratorDecorator<K>
Modifier and Type | Field and Description |
---|---|
protected boolean |
canRemove
Whether remove is allowed at present
|
protected K |
lastKey
The last returned key
|
protected AbstractDualBidiMap<K,?> |
parent
The parent map
|
Modifier | Constructor and Description |
---|---|
protected |
KeySetIterator(Iterator<K> iterator,
AbstractDualBidiMap<K,?> parent)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
K |
next() |
void |
remove() |
getIterator, hasNext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
protected final AbstractDualBidiMap<K,?> parent
protected K lastKey
protected boolean canRemove
protected KeySetIterator(Iterator<K> iterator, AbstractDualBidiMap<K,?> parent)
iterator
- the iterator to decorateparent
- the parent mappublic K next()
AbstractIteratorDecorator
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.