KEYTYPE - key typeVALUETYPE - value type@ThreadSafe public abstract class AbstractMultiConcurrentHashMapListBased<KEYTYPE,VALUETYPE> extends AbstractMultiConcurrentHashMap<KEYTYPE,VALUETYPE,List<VALUETYPE>> implements IMultiMapListBased<KEYTYPE,VALUETYPE>
ConcurrentHashMap
and List values.null keys are not allowed here!ConcurrentHashMap.KeySetView<K,V>AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
AbstractMultiConcurrentHashMapListBased() |
AbstractMultiConcurrentHashMapListBased(KEYTYPE aKey,
List<VALUETYPE> aCollection) |
AbstractMultiConcurrentHashMapListBased(KEYTYPE aKey,
VALUETYPE aValue) |
AbstractMultiConcurrentHashMapListBased(Map<? extends KEYTYPE,? extends List<VALUETYPE>> aCont) |
| Modifier and Type | Method and Description |
|---|---|
EChange |
putSingle(KEYTYPE aKey,
VALUETYPE aValue,
int nIndex)
Add a single value into the container identified by the passed key at the
specified index.
|
containsSingle, createNewCollection, getOrCreate, getTotalValueCount, putAllIn, putSingle, removeSingleclear, 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, valuesclonefinalize, getClass, notify, notifyAll, wait, wait, waitcontainsSingle, getOrCreate, getTotalValueCount, putAllIn, putSingle, removeSingleclear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuespublic AbstractMultiConcurrentHashMapListBased()
public AbstractMultiConcurrentHashMapListBased(@Nonnull KEYTYPE aKey, @Nullable VALUETYPE aValue)
public AbstractMultiConcurrentHashMapListBased(@Nonnull KEYTYPE aKey, @Nonnull List<VALUETYPE> aCollection)
@Nonnull public final EChange putSingle(@Nonnull KEYTYPE aKey, @Nullable VALUETYPE aValue, @Nonnegative int nIndex)
IMultiMapListBasedputSingle in interface IMultiMapListBased<KEYTYPE,VALUETYPE>aKey - The key to use. May not be null.aValue - The value to be added. May be null.nIndex - The index to add the element to the list. Must be ≥ 0.EChangeCopyright © 2014–2015 Philip Helger. All rights reserved.