Package org.keycloak.common.util
Class ConcurrentMultivaluedHashMap<K,V>
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.concurrent.ConcurrentHashMap<K,List<V>>
-
- org.keycloak.common.util.ConcurrentMultivaluedHashMap<K,V>
-
- All Implemented Interfaces:
Serializable
,ConcurrentMap<K,List<V>>
,Map<K,List<V>>
public class ConcurrentMultivaluedHashMap<K,V> extends ConcurrentHashMap<K,List<V>>
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.util.concurrent.ConcurrentHashMap
ConcurrentHashMap.KeySetView<K extends Object,V extends Object>
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
-
-
Constructor Summary
Constructors Constructor Description ConcurrentMultivaluedHashMap()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(K key, V value)
void
addAll(K key, List<V> valueList)
void
addAll(K key, V... newValues)
void
addAll(ConcurrentMultivaluedHashMap<K,V> other)
void
addFirst(K key, V value)
void
addMultiple(K key, Collection<V> values)
protected List<V>
createListInstance()
V
getFirst(K key)
List<V>
getList(K key)
void
putSingle(K key, V value)
-
Methods inherited from class java.util.concurrent.ConcurrentHashMap
clear, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, forEach, forEach, forEachEntry, forEachEntry, forEachKey, forEachKey, forEachValue, forEachValue, get, getOrDefault, hashCode, isEmpty, keys, keySet, keySet, mappingCount, merge, newKeySet, newKeySet, put, putAll, putIfAbsent, reduce, reduceEntries, reduceEntries, reduceEntriesToDouble, reduceEntriesToInt, reduceEntriesToLong, reduceKeys, reduceKeys, reduceKeysToDouble, reduceKeysToInt, reduceKeysToLong, reduceToDouble, reduceToInt, reduceToLong, reduceValues, reduceValues, reduceValuesToDouble, reduceValuesToInt, reduceValuesToLong, remove, remove, replace, replace, replaceAll, search, searchEntries, searchKeys, searchValues, size, toString, values
-
Methods inherited from class java.util.AbstractMap
clone
-
-
-
-
Method Detail
-
addMultiple
public final void addMultiple(K key, Collection<V> values)
-
addAll
public void addAll(ConcurrentMultivaluedHashMap<K,V> other)
-
-