- add
Adds a number of occurrences of an element to this multiset. Note that if
occurrences == 1, this met
- count
Returns the number of occurrences of an element in this multiset (thecount of
the element). Note tha
- elementSet
Returns the set of distinct elements contained in this multiset. The element set
is backed by the sa
- entrySet
Returns a view of the contents of this multiset, grouped into Multiset.Entry
instances, each providi
- remove
Removes a number of occurrences of the specified element from this multiset. If
the multiset contain
- size
Returns the total number of all occurrences of all elements in this multiset.
Note: this method does
- isEmpty
- clear
- contains
Determines whether this multiset contains the specified element.This method
refines Collection#conta
- addAll
- setCount
Conditionally sets the count of an element to a new value, as described in
#setCount(Object,int), pr
- iterator
Elements that occur multiple times in the multiset will appear multiple times in
this iterator, thou