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