protected static class AbstractMapMultiSet.UniqueSetIterator<E> extends AbstractIteratorDecorator<E>
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
canRemove
Whether remove is allowed at present
|
protected E |
lastElement
The last returned element
|
protected AbstractMapMultiSet |
parent
The parent multiset
|
| Modifier | Constructor and Description |
|---|---|
protected |
UniqueSetIterator(Iterator
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
E |
next()
|
void |
remove()
|
getIterator, hasNextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingprotected final AbstractMapMultiSet<E> parent
protected E lastElement
protected boolean canRemove
protected UniqueSetIterator(Iterator<E> iterator, AbstractMapMultiSet <E> parent)
iterator - the iterator to decorate
parent - the parent multiset
public E next()
AbstractIteratorDecorator
public void remove()