Changed Methods |
Map<K, Collection<V>> asMap()
|
Changed from non-abstract to abstract.
|
Returns a view of this multimap as a {@code Map} from each distinct key
to the nonempty collection of that key's associated values. |
void clear()
|
Changed from non-abstract to abstract.
|
Removes all key-value pairs from the multimap, leaving it #isEmpty empty. |
boolean containsEntry(Object, Object)
|
Changed from non-abstract to abstract.
|
Returns {@code true} if this multimap contains at least one key-value pair
with the key {@code key} and the value {@code value}. |
boolean containsKey(Object )
|
Changed from non-abstract to abstract.
|
Returns {@code true} if this multimap contains at least one key-value pair
with the key {@code key}. |
boolean containsValue(Object )
|
Changed from non-abstract to abstract.
|
Returns {@code true} if this multimap contains at least one key-value pair
with the value {@code value}. |
Collection<Entry<K, V>> entries()
|
Changed from non-abstract to abstract.
|
Returns a view collection of all key-value pairs contained in this
multimap, as Map.Entry instances. |
boolean equals(Object )
|
Changed from non-abstract to abstract.
|
Compares the specified object with this multimap for equality. |
Collection<V> get(K )
|
Changed from non-abstract to abstract.
|
Returns a view collection of the values associated with {@code key} in this
multimap, if any. |
int hashCode()
|
Changed from non-abstract to abstract.
|
Returns the hash code for this multimap. |
boolean isEmpty()
|
Changed from non-abstract to abstract.
|
Returns {@code true} if this multimap contains no key-value pairs. |
Set<K> keySet()
|
Changed from non-abstract to abstract.
|
Returns a view collection of all distinct keys contained in this
multimap. |
Multiset<K> keys()
|
Changed from non-abstract to abstract.
|
Returns a view collection containing the key from each key-value pair in
this multimap, without collapsing duplicates. |
boolean put(K, V)
|
Changed from non-abstract to abstract.
|
Stores a key-value pair in this multimap. |
boolean remove(Object, Object)
|
Changed from non-abstract to abstract.
|
Removes a single key-value pair with the key {@code key} and the value
{@code value} from this multimap, if such exists. |
Collection<V> removeAll(Object )
|
Changed from non-abstract to abstract.
|
Removes all values associated with the key {@code key}. |
Collection<V> replaceValues(K, Iterable<?, extends, V>)
|
Changed from non-abstract to abstract.
|
Stores a collection of values with the same key, replacing any existing
values for that key. |
int size()
|
Changed from non-abstract to abstract.
|
Returns the number of key-value pairs in this multimap. |
Collection<V> values()
|
Changed from non-abstract to abstract.
|
Returns a view collection containing the value from each key-value
pair contained in this multimap, without collapsing duplicates (so {@code
values().size() == size()}). |
boolean putAll(K, Iterable<?, extends, V>)
|
Changed from non-abstract to abstract.
|
Stores a key-value pair in this multimap for each of {@code values}, all
using the same key, {@code key}. |
boolean putAll(Multimap<?, extends, K, ?, extends, V>)
|
Changed from non-abstract to abstract.
|
Stores all key-value pairs of {@code multimap} in this multimap, in the
order returned by {@code multimap.entries()}. |