MultiMap
instead.public final class MultiMap<K,V>
extends java.lang.Object
Constructor and Description |
---|
MultiMap()
Deprecated.
|
MultiMap(int size)
Deprecated.
|
MultiMap(MultiMap<K,V> other)
Deprecated.
Creates a clone of [other] with a distinct list of values associated with the key.
|
Modifier and Type | Method and Description |
---|---|
void |
add(K key,
V value)
Deprecated.
|
void |
addAll(K key,
java.util.Collection<? extends V> values)
Deprecated.
|
java.util.List<V> |
get(K key)
Deprecated.
|
java.util.List<V> |
getOrCreate(K key)
Deprecated.
Gets the list that corresponds to the key.
|
java.util.Set<K> |
keySet()
Deprecated.
|
java.util.List<V> |
remove(K key)
Deprecated.
|
boolean |
remove(K key,
V value)
Deprecated.
|
public MultiMap()
public MultiMap(MultiMap<K,V> other)
other
- The sourcepublic MultiMap(int size)