Class AbstractMapMultiSet.UniqueSetIterator<E>
java.lang.Object
org.apache.commons.collections4.iterators.AbstractUntypedIteratorDecorator<E,E>
 
org.apache.commons.collections4.iterators.AbstractIteratorDecorator<E>
org.apache.commons.collections4.multiset.AbstractMapMultiSet.UniqueSetIterator<E>
- Type Parameters:
- E- the element type.
- All Implemented Interfaces:
- Iterator<E>
- Enclosing class:
- AbstractMapMultiSet<E>
protected static class AbstractMapMultiSet.UniqueSetIterator<E>
extends AbstractIteratorDecorator<E>
Inner class UniqueSetIterator.
- Since:
- 4.1
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected booleanWhether remove is allowed at presentprotected EThe last returned elementprotected final AbstractMapMultiSet<E> The parent multiset
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedUniqueSetIterator(Iterator<E> iterator, AbstractMapMultiSet<E> parent) Constructs a new instance.
- 
Method SummaryMethods inherited from class org.apache.commons.collections4.iterators.AbstractUntypedIteratorDecoratorgetIterator, hasNextMethods 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 multiset
- 
lastElementThe last returned element
- 
canRemoveWhether remove is allowed at present
 
- 
- 
Constructor Details- 
UniqueSetIteratorConstructs a new instance.- Parameters:
- iterator- the iterator to decorate
- parent- the parent multiset
 
 
- 
- 
Method Details- 
nextDescription copied from class:AbstractIteratorDecorator
- 
remove
 
-