MultiMap
directly.
On migration please note that MultiMap has few differences:MultiMap.get(Object)
method returns non-null value. In case there is no value for the key - empty collection is returned.MultiMap.values
method returns a real values collection, not a copy. Be careful with modifications.MultiMap
may not permit null keys and/or null values@Deprecated
public class MultiValuesMap<K,V>
extends java.lang.Object
Constructor and Description |
---|
MultiValuesMap()
Deprecated.
|
MultiValuesMap(boolean ordered)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
Deprecated.
|
boolean |
containsKey(K key)
Deprecated.
|
java.util.Set<java.util.Map.Entry<K,java.util.Collection<V>>> |
entrySet()
Deprecated.
|
java.util.Collection<V> |
get(K key)
Deprecated.
|
V |
getFirst(K key)
Deprecated.
|
boolean |
isEmpty()
Deprecated.
|
java.util.Set<K> |
keySet()
Deprecated.
|
void |
put(K key,
V value)
Deprecated.
|
void |
putAll(K key,
java.util.Collection<? extends V> values)
Deprecated.
|
void |
putAll(K key,
V... values)
Deprecated.
|
void |
remove(K key,
V value)
Deprecated.
|
java.util.Collection<V> |
removeAll(K key)
Deprecated.
|
java.util.Collection<V> |
values()
Deprecated.
|
@Deprecated public MultiValuesMap()
MultiMap.createSet()
public MultiValuesMap(boolean ordered)
public java.util.Set<K> keySet()
public java.util.Collection<V> values()
public void clear()
public java.util.Set<java.util.Map.Entry<K,java.util.Collection<V>>> entrySet()
public boolean isEmpty()
public boolean containsKey(K key)