Class AbstractMapMultiSet.EntrySetIterator<E>
java.lang.Object
org.apache.commons.collections4.multiset.AbstractMapMultiSet.EntrySetIterator<E>
- Type Parameters:
- E- the element type.
- All Implemented Interfaces:
- Iterator<MultiSet.Entry<E>>
- Enclosing class:
- AbstractMapMultiSet<E>
protected static class AbstractMapMultiSet.EntrySetIterator<E>
extends Object
implements Iterator<MultiSet.Entry<E>>
Inner class EntrySetIterator.
- Since:
- 4.1
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected booleanWhether remove is allowed at presentprotected final Iterator<Map.Entry<E, AbstractMapMultiSet.MutableInteger>> The source Iterator.protected MultiSet.Entry<E> The last returned entryprotected final AbstractMapMultiSet<E> The parent map
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedEntrySetIterator(Iterator<Map.Entry<E, AbstractMapMultiSet.MutableInteger>> decorated, AbstractMapMultiSet<E> parent) Constructs a new instance.
- 
Method SummaryMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.IteratorforEachRemaining
- 
Field Details- 
parentThe parent map
- 
decoratedThe source Iterator.
- 
lastThe last returned entry
- 
canRemoveWhether remove is allowed at present
 
- 
- 
Constructor Details- 
EntrySetIteratorprotected EntrySetIterator(Iterator<Map.Entry<E, AbstractMapMultiSet.MutableInteger>> decorated, AbstractMapMultiSet<E> parent) Constructs a new instance.- Parameters:
- decorated- the iterator to decorate
- parent- the parent multiset
 
 
- 
- 
Method Details- 
hasNext
- 
next
- 
remove
 
-