public class ConcurrentMostlySingularMultiMap<K,V> extends MostlySingularMultiMap<K,V>
MostlySingularMultiMap.ValueList<V>
myMap
Constructor and Description |
---|
ConcurrentMostlySingularMultiMap() |
Modifier and Type | Method and Description |
---|---|
void |
add(K key,
V value) |
void |
addAll(MostlySingularMultiMap<? extends K,? extends V> other) |
void |
compact() |
protected java.util.Map<K,java.lang.Object> |
createMap() |
boolean |
remove(K key,
V value) |
boolean |
replace(K key,
java.util.Collection<? extends V> expectedValue,
java.util.Collection<? extends V> newValue) |
clear, containsKey, emptyMap, get, isEmpty, keySet, newMap, processAllValues, processForKey, rawValueToCollection, removeAllValues, size, toString, valuesForKey
protected java.util.Map<K,java.lang.Object> createMap()
createMap
in class MostlySingularMultiMap<K,V>
public void compact()
compact
in class MostlySingularMultiMap<K,V>
public boolean replace(K key, java.util.Collection<? extends V> expectedValue, java.util.Collection<? extends V> newValue)
public void addAll(MostlySingularMultiMap<? extends K,? extends V> other)
addAll
in class MostlySingularMultiMap<K,V>