protected static class AbstractMapMultiSet.MultiSetEntry<E> extends AbstractMultiSet.AbstractEntry<E>
| Modifier and Type | Field and Description |
|---|---|
protected Map.Entry<E,AbstractMapMultiSet.MutableInteger> |
parentEntry |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractMapMultiSet.MultiSetEntry(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 Map.Entry<E,AbstractMapMultiSet.MutableInteger> parentEntry
protected AbstractMapMultiSet.MultiSetEntry(Map.Entry<E,AbstractMapMultiSet.MutableInteger> parentEntry)
parentEntry - the entry to decoratepublic E getElement()
MultiSet.Entrypublic int getCount()
MultiSet.EntryCopyright © 2001–2015 The Apache Software Foundation. All rights reserved.