Class AbstractMapMultiSet.EntrySetIterator<E>
java.lang.Object
org.apache.commons.collections4.multiset.AbstractMapMultiSet.EntrySetIterator<E>
- 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.
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
Whether remove is allowed at presentprotected final Iterator<Map.Entry<E,
AbstractMapMultiSet.MutableInteger>> protected MultiSet.Entry<E>
The last returned entryprotected final AbstractMapMultiSet<E>
The parent map -
Constructor Summary
ModifierConstructorDescriptionprotected
EntrySetIterator
(Iterator<Map.Entry<E, AbstractMapMultiSet.MutableInteger>> iterator, AbstractMapMultiSet<E> parent) Constructs a new instance. -
Method Summary
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 -
decorated
-
last
The last returned entry -
canRemove
Whether remove is allowed at present
-
-
Constructor Details
-
EntrySetIterator
protected EntrySetIterator(Iterator<Map.Entry<E, AbstractMapMultiSet.MutableInteger>> iterator, AbstractMapMultiSet<E> parent) Constructs a new instance.- Parameters:
iterator
- the iterator to decorateparent
- the parent multiset
-
-
Method Details