KEYTYPE - key typeVALUETYPE - value type@NotThreadSafe public abstract class AbstractMultiHashMapListBased<KEYTYPE,VALUETYPE> extends AbstractMultiHashMap<KEYTYPE,VALUETYPE,List<VALUETYPE>> implements IMultiMapListBased<KEYTYPE,VALUETYPE>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
AbstractMultiHashMapListBased() |
AbstractMultiHashMapListBased(KEYTYPE aKey,
List<VALUETYPE> aCollection) |
AbstractMultiHashMapListBased(KEYTYPE aKey,
VALUETYPE aValue) |
AbstractMultiHashMapListBased(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, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, valuesequals, hashCode, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcontainsSingle, getOrCreate, getTotalValueCount, putAllIn, putSingle, removeSinglepublic AbstractMultiHashMapListBased()
public AbstractMultiHashMapListBased(@Nullable KEYTYPE aKey, @Nullable VALUETYPE aValue)
public AbstractMultiHashMapListBased(@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 © 2006–2014 phloc systems. All rights reserved.