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 |
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, toString
protected final Map.Entry<E,AbstractMapMultiSet.MutableInteger> parentEntry
protected MultiSetEntry(Map.Entry<E,AbstractMapMultiSet.MutableInteger> parentEntry)
parentEntry
- the entry to decoratepublic E getElement()
MultiSet.Entry
public int getCount()
MultiSet.Entry
Copyright © 2001–2019 The Apache Software Foundation. All rights reserved.