protected static class AbstractMapMultiSet.EntrySetIterator<E> extends Objectimplements Iterator <MultiSet .Entry <E>>
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
canRemove
Whether remove is allowed at present
|
protected Iterator |
decorated
|
protected MultiSet |
last
The last returned entry
|
protected AbstractMapMultiSet |
parent
The parent map
|
| Modifier | Constructor and Description |
|---|---|
protected |
EntrySetIterator(Iterator
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext()
|
MultiSet |
next()
|
void |
remove()
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingprotected final AbstractMapMultiSet<E> parent
protected final Iterator<Map .Entry <E ,AbstractMapMultiSet .MutableInteger >> decorated
protected MultiSet.Entry <E> last
protected boolean canRemove
protected EntrySetIterator(Iterator<Map .Entry <E ,AbstractMapMultiSet .MutableInteger >> iterator, AbstractMapMultiSet <E> parent)
iterator - the iterator to decorate
parent - the parent multiset
public boolean hasNext()
public MultiSet.Entry <E> next()
public void remove()