KEYTYPE - key typeVALUETYPE - value type@NotThreadSafe public abstract class AbstractMultiTreeMapListBased<KEYTYPE,VALUETYPE> extends AbstractMultiTreeMap<KEYTYPE,VALUETYPE,List<VALUETYPE>> implements IMultiMapListBased<KEYTYPE,VALUETYPE>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
AbstractMultiTreeMapListBased() |
AbstractMultiTreeMapListBased(Comparator<? super KEYTYPE> aComparator) |
AbstractMultiTreeMapListBased(KEYTYPE aKey,
List<VALUETYPE> aCollection) |
AbstractMultiTreeMapListBased(KEYTYPE aKey,
VALUETYPE aValue) |
AbstractMultiTreeMapListBased(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, removeSingleceilingEntry, ceilingKey, clear, clone, comparator, containsKey, containsValue, descendingKeySet, descendingMap, entrySet, firstEntry, firstKey, floorEntry, floorKey, forEach, get, headMap, headMap, higherEntry, higherKey, keySet, lastEntry, lastKey, lowerEntry, lowerKey, navigableKeySet, pollFirstEntry, pollLastEntry, put, putAll, remove, replace, replace, replaceAll, size, subMap, subMap, tailMap, tailMap, valuesequals, hashCode, isEmpty, 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 AbstractMultiTreeMapListBased()
public AbstractMultiTreeMapListBased(@Nullable Comparator<? super KEYTYPE> aComparator)
public AbstractMultiTreeMapListBased(@Nullable KEYTYPE aKey, @Nullable VALUETYPE aValue)
public AbstractMultiTreeMapListBased(@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–2016 Philip Helger. All rights reserved.