K - the key typeV - the value typeC - the collection type@Deprecated
public interface MultiMap<K,V,C extends java.util.Collection<V>>
extends java.util.Map<K,C>, java.io.Serializable
| Modifier and Type | Method and Description |
|---|---|
C |
add(K key,
V value)
Deprecated.
Adds the specified value to the key.
|
C |
addAll(K key,
java.util.Collection<? extends V> values)
Deprecated.
Adds the specified values to the key.
|
C |
allValues()
Deprecated.
|
boolean |
containsCollectionValue(V v)
Deprecated.
Checks if any collection of any key contains
v. |
boolean |
hasValues(K key)
Deprecated.
Checks if the specified key is contained in this map and if the associated collection is not empty.
|
boolean |
remove(K key,
java.lang.Iterable<V> value)
Deprecated.
Removes the values of the collection for the specified key (if it exists).
|
boolean |
remove(java.lang.Object key,
java.lang.Object value)
Deprecated.
Removes the value of the collection for the specified key (if it exists).
|
boolean |
removeWithKey(K key,
java.lang.Iterable<V> value)
Deprecated.
Removes the specified values of the collection for the specified key (if it exists).
|
boolean |
removeWithKey(K key,
V value)
Deprecated.
Removes the specified value of the collection for the specified key (if it exists).
|
boolean containsCollectionValue(V v)
v.v - the element to checkC add(K key, V value)
null it will be created.key - the keyvalue - the valueC addAll(K key, java.util.Collection<? extends V> values)
null it will be created.key - the keyvalues - the valuesboolean remove(java.lang.Object key,
java.lang.Object value)
boolean remove(K key, java.lang.Iterable<V> value)
key - the keyvalue - the values to removeboolean removeWithKey(K key, V value)
key - the keyvalue - the valueboolean removeWithKey(K key, java.lang.Iterable<V> value)
key - the keyvalue - the valueboolean hasValues(K key)
key - the keyC allValues()
Copyright © 2015–2018 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.