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 |
parent
The parent map
|
| Modifier | Constructor and Description |
|---|---|
protected |
KeySetIterator(Iterator
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
K |
next()
|
void |
remove()
|
getIterator, hasNextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingprotected final AbstractDualBidiMap<K ,?> parent
protected K lastKey
protected boolean canRemove
protected KeySetIterator(Iterator<K> iterator, AbstractDualBidiMap <K ,?> parent)
iterator - the iterator to decorate
parent - the parent map
public K next()
AbstractIteratorDecorator
public void remove()