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, hasNextprotected 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.Iteratornext in class AbstractIteratorDecoratorpublic void remove()
remove in interface java.util.Iteratorremove in class AbstractIteratorDecoratorCopyright © 2001-2025 Apache Software Foundation. All Rights Reserved.