public class HashMultiSet<T> extends AbstractMultiSet<T,java.util.Map<T,java.lang.Integer>>
HTMLToString.HTMLCellRenderer
map, size
Constructor and Description |
---|
HashMultiSet()
Constructs a new, empty multiset, such that all elements of the given
collection are added as many times as they are returned by the iterator
of that collection.
|
HashMultiSet(java.util.Collection<? extends T> collection)
Constructs a new multiset, such that all elements of the given collection
are added as many times as they are returned by the iterator of that
collection.
|
HashMultiSet(T[] collection)
Constructs a new multiset, such that all elements of the given collection
are added as many times as they are in the given array.
|
add, add, addAll, baseSet, clear, contains, containsAll, containsAtLeast, equals, hashCode, isEmpty, isLessOrEqual, iterator, occurrences, remove, removeAll, removeAllMultiSet, retainAll, retainAll, size, toHTMLString, toList, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public HashMultiSet(java.util.Collection<? extends T> collection)
collection
- Representing the objects that should be put in a multisetpublic HashMultiSet(T[] collection)
collection
- Representing the objects that should be put in a multisetpublic HashMultiSet()