Class AbstractMapMultiSet<E>

java.lang.Object
java.util.AbstractCollection<E>
org.apache.commons.collections4.multiset.AbstractMultiSet<E>
org.apache.commons.collections4.multiset.AbstractMapMultiSet<E>
Type Parameters:
E - The type held in the multiset.
All Implemented Interfaces:
Iterable<E>, Collection<E>, MultiSet<E>
Direct Known Subclasses:
HashMultiSet, TreeMultiSet

public abstract class AbstractMapMultiSet<E> extends AbstractMultiSet<E>
Abstract implementation of the MultiSet interface to simplify the creation of subclass implementations.

Subclasses specify a Map implementation to use as the internal storage. The map will be used to map multiset elements to a number; the number represents the number of occurrences of that element in the multiset.

Since:
4.1