Changed Methods |
boolean contains(Object )
|
Changed from non-abstract to abstract.
|
Determines whether this multiset contains the specified element. |
boolean containsAll(Collection<?> )
|
Changed from non-abstract to abstract.
|
Returns {@code true} if this multiset contains at least one occurrence of
each element in the specified collection. |
int count(Object )
|
Changed from non-abstract to abstract.
|
Returns the number of occurrences of an element in this multiset (the
count of the element). |
Set<E> elementSet()
|
Changed from non-abstract to abstract.
|
Returns the set of distinct elements contained in this multiset. |
Set<Entry<E>> entrySet()
|
Changed from non-abstract to abstract.
|
Returns a view of the contents of this multiset, grouped into {@code
Multiset.Entry} instances, each providing an element of the multiset and
the count of that element. |
boolean equals(Object )
|
Changed from non-abstract to abstract.
|
Compares the specified object with this multiset for equality. |
int hashCode()
|
Changed from non-abstract to abstract.
|
Returns the hash code for this multiset. |
Iterator<E> iterator()
|
Changed from non-abstract to abstract.
|
{@inheritDoc}
|
boolean removeAll(Collection<?> )
|
Changed from non-abstract to abstract.
|
{@inheritDoc}
|
boolean retainAll(Collection<?> )
|
Changed from non-abstract to abstract.
|
{@inheritDoc}
|
String toString()
|
Changed from non-abstract to abstract.
|
{@inheritDoc}
|
boolean add(E )
|
Changed from non-abstract to abstract.
|
Adds a single occurrence of the specified element to this multiset. |
int add(E, int)
|
Changed from non-abstract to abstract.
|
Adds a number of occurrences of an element to this multiset. |
boolean remove(Object )
|
Changed from non-abstract to abstract.
|
Removes a single occurrence of the specified element from this
multiset, if present. |
int remove(Object, int)
|
Changed from non-abstract to abstract.
|
Removes a number of occurrences of the specified element from this
multiset. |
boolean setCount(E, int, int)
|
Changed from non-abstract to abstract.
|
Conditionally sets the count of an element to a new value, as described in
.setCount(Object, int), provided that the element has the expected
current count. |
int setCount(E, int)
|
Changed from non-abstract to abstract.
|
Adds or removes the necessary occurrences of an element such that the
element attains the desired count. |