public abstract class SynchronizedBidiMultiMap<K,V>
extends java.lang.Object
Constructor and Description |
---|
SynchronizedBidiMultiMap() |
Modifier and Type | Method and Description |
---|---|
protected abstract ArrayFactory<V> |
arrayFactory() |
boolean |
containsKey(K key) |
boolean |
containsValue(V value) |
V[] |
get(K key) |
K |
getKeyFor(V value) |
java.util.Map<K,V[]> |
getMap() |
V[] |
getOrDefault(K key,
V[] defaultValue) |
java.util.Collection<V> |
getValues() |
boolean |
isEmpty() |
java.util.Collection<K> |
keys() |
void |
put(K key,
V... values) |
V[] |
remove(K key) |
V[] |
remove(K key,
V value) |
K |
removeValue(V value) |
public java.util.Collection<K> keys()
public boolean containsKey(K key)
public boolean containsValue(V value)
public java.util.Collection<V> getValues()
public boolean isEmpty()
protected abstract ArrayFactory<V> arrayFactory()