KEYTYPE - key typeVALUETYPE - value type@NotThreadSafe public abstract class AbstractMultiWeakHashMapListBased<KEYTYPE,VALUETYPE> extends AbstractMultiWeakHashMap<KEYTYPE,VALUETYPE,List<VALUETYPE>> implements IMultiMapListBased<KEYTYPE,VALUETYPE>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
AbstractMultiWeakHashMapListBased() |
AbstractMultiWeakHashMapListBased(KEYTYPE aKey,
List<VALUETYPE> aCollection) |
AbstractMultiWeakHashMapListBased(KEYTYPE aKey,
VALUETYPE aValue) |
AbstractMultiWeakHashMapListBased(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, containsKey, containsValue, entrySet, forEach, get, isEmpty, keySet, put, putAll, remove, replaceAll, size, valuesclone, equals, hashCode, toStringfinalize, 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 AbstractMultiWeakHashMapListBased()
public AbstractMultiWeakHashMapListBased(@Nullable KEYTYPE aKey, @Nullable VALUETYPE aValue)
public AbstractMultiWeakHashMapListBased(@Nullable KEYTYPE aKey, @Nullable List<VALUETYPE> aCollection)
@Nonnull public final EChange putSingle(@Nullable 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.