Class AbstractDualBidiMap.KeySetIterator<K>
java.lang.Object
org.apache.openjpa.lib.util.collections.AbstractUntypedIteratorDecorator<E,E>
org.apache.openjpa.lib.util.collections.AbstractIteratorDecorator<K>
org.apache.openjpa.lib.util.collections.AbstractDualBidiMap.KeySetIterator<K>
- All Implemented Interfaces:
Iterator<K>
- Enclosing class:
- AbstractDualBidiMap<K,
V>
Inner class KeySetIterator.
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
KeySetIterator
(Iterator<K> iterator, AbstractDualBidiMap<K, ?> parent) Constructor. -
Method Summary
Methods inherited from class org.apache.openjpa.lib.util.collections.AbstractUntypedIteratorDecorator
getIterator, hasNext
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Field Details
-
parent
The parent map -
lastKey
The last returned key -
canRemove
protected boolean canRemoveWhether remove is allowed at present
-
-
Constructor Details
-
KeySetIterator
Constructor.- Parameters:
iterator
- the iterator to decorateparent
- the parent map
-
-
Method Details
-
next
Description copied from class:AbstractIteratorDecorator
-
remove
public void remove()
-