protected static class AbstractDualBidiMap.KeySetIterator<K> extends AbstractIteratorDecorator<K>
Modifier and Type | Field | 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 | Description |
---|---|---|
protected |
KeySetIterator(java.util.Iterator<K> iterator,
AbstractDualBidiMap<K,?> parent) |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
K |
next() |
|
void |
remove() |
getIterator, hasNext
protected final AbstractDualBidiMap<K,?> parent
protected K lastKey
protected boolean canRemove
protected KeySetIterator(java.util.Iterator<K> iterator, AbstractDualBidiMap<K,?> parent)
iterator
- the iterator to decorateparent
- the parent mappublic K next()
AbstractIteratorDecorator
next
in class AbstractIteratorDecorator<K>
public void remove()
remove
in class AbstractUntypedIteratorDecorator<K,K>
Copyright © 2001-2019 - Apache Software Foundation