public class ConcurrentHashMultiMap<K,V> extends AbstractMultiMap<K,V>
HashMultiMap
Constructor and Description |
---|
ConcurrentHashMultiMap() |
ConcurrentHashMultiMap(MultiMap<K,V> m) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(V value) |
boolean |
equals(Object o) |
Set<V> |
get(K o) |
int |
hashCode() |
Set<K> |
keySet() |
protected ConcurrentMap<V,V> |
newSet() |
int |
numKeys() |
boolean |
put(K key,
V value) |
boolean |
putAll(K key,
Set<V> values) |
V |
putIfAbsent(K key,
V value) |
boolean |
remove(K key) |
boolean |
remove(K key,
V value) |
boolean |
removeAll(K key,
Set<V> values) |
int |
size()
Gets the number of keys in this MultiMap
|
Set<V> |
values() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public int numKeys()
public boolean containsKey(Object key)
public boolean containsValue(V value)
protected ConcurrentMap<V,V> newSet()
public boolean remove(K key)
public boolean equals(Object o)
public int hashCode()
public int size()
MultiMap
public void clear()