Class AbstractMapMultiSet.MultiSetEntry<E>
java.lang.Object
org.apache.commons.collections4.multiset.AbstractMultiSet.AbstractEntry<E>
org.apache.commons.collections4.multiset.AbstractMapMultiSet.MultiSetEntry<E>
- Type Parameters:
- E- the key type.
- All Implemented Interfaces:
- MultiSet.Entry<E>
- Enclosing class:
- AbstractMapMultiSet<E>
protected static class AbstractMapMultiSet.MultiSetEntry<E>
extends AbstractMultiSet.AbstractEntry<E>
Inner class MultiSetEntry.
- Since:
- 4.1
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected final Map.Entry<E, AbstractMapMultiSet.MutableInteger> The parent entry.
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedMultiSetEntry(Map.Entry<E, AbstractMapMultiSet.MutableInteger> parentEntry) Constructs a new instance.
- 
Method SummaryModifier and TypeMethodDescriptionintgetCount()Gets the number of occurrences for the element of this entry.Gets the element corresponding to this entry.Methods inherited from class org.apache.commons.collections4.multiset.AbstractMultiSet.AbstractEntryequals, hashCode, toString
- 
Field Details- 
parentEntryThe parent entry.
 
- 
- 
Constructor Details- 
MultiSetEntryConstructs a new instance.- Parameters:
- parentEntry- the entry to decorate
 
 
- 
- 
Method Details- 
getCountDescription copied from interface:MultiSet.EntryGets the number of occurrences for the element of this entry.- Returns:
- the number of occurrences of the element
 
- 
getElementDescription copied from interface:MultiSet.EntryGets the element corresponding to this entry.- Returns:
- the element corresponding to this entry
 
 
-