Class AbstractDualBidiMap.EntrySetIterator
java.lang.Object
org.apache.commons.collections.iterators.AbstractIteratorDecorator
org.apache.commons.collections.bidimap.AbstractDualBidiMap.EntrySetIterator
- All Implemented Interfaces:
Iterator
- Enclosing class:
- AbstractDualBidiMap
Inner class EntrySetIterator.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanWhether remove is allowed at presentprotected Map.EntryThe last returned entryprotected final AbstractDualBidiMapThe parent mapFields inherited from class org.apache.commons.collections.iterators.AbstractIteratorDecorator
iterator -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedEntrySetIterator(Iterator iterator, AbstractDualBidiMap parent) Constructor. -
Method Summary
Methods inherited from class org.apache.commons.collections.iterators.AbstractIteratorDecorator
getIterator, hasNextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining
-
Field Details
-
parent
The parent map -
last
The last returned entry -
canRemove
protected boolean canRemoveWhether remove is allowed at present
-
-
Constructor Details
-
EntrySetIterator
Constructor.- Parameters:
iterator- the iterator to decorateparent- the parent map
-
-
Method Details
-
next
- Specified by:
nextin interfaceIterator- Overrides:
nextin classAbstractIteratorDecorator
-
remove
public void remove()- Specified by:
removein interfaceIterator- Overrides:
removein classAbstractIteratorDecorator
-