protected static class AbstractMapMultiSet.MultiSetEntry<E> extends AbstractMultiSet.AbstractEntry<E>
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Map.Entry<E,AbstractMapMultiSet.MutableInteger> |
parentEntry |
| Modifier | Constructor and Description |
|---|---|
protected |
MultiSetEntry(java.util.Map.Entry<E,AbstractMapMultiSet.MutableInteger> parentEntry)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCount()
Returns the number of occurrences for the element of this entry.
|
E |
getElement()
Returns the element corresponding to this entry.
|
equals, hashCode, toStringprotected final java.util.Map.Entry<E,AbstractMapMultiSet.MutableInteger> parentEntry
protected MultiSetEntry(java.util.Map.Entry<E,AbstractMapMultiSet.MutableInteger> parentEntry)
parentEntry - the entry to decoratepublic E getElement()
MultiSet.Entrypublic int getCount()
MultiSet.Entry