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:
  • Constructor Details

    • ConcurrentMultivaluedHashMap

      public ConcurrentMultivaluedHashMap()
  • Method Details

    • putSingle

      public void putSingle(K key, V value)
    • addAll

      public void addAll(K key, V... newValues)
    • addAll

      public void addAll(K key, List<V> valueList)
    • addFirst

      public void addFirst(K key, V value)
    • add

      public final void add(K key, V value)
    • addMultiple

      public final void addMultiple(K key, Collection<V> values)
    • getFirst

      public V getFirst(K key)
    • getList

      public final List<V> getList(K key)
    • addAll

      public void addAll(ConcurrentMultivaluedHashMap<K,V> other)
    • createListInstance

      protected List<V> createListInstance()