KEYTYPE1 - outer key typeKEYTYPE2 - inner key typeVALUETYPE - value type@NotThreadSafe public abstract class AbstractMultiTreeMapMapBased<KEYTYPE1,KEYTYPE2,VALUETYPE> extends CommonsTreeMap<KEYTYPE1,ICommonsMap<KEYTYPE2,VALUETYPE>> implements IMultiMapMapBased<KEYTYPE1,KEYTYPE2,VALUETYPE>
CommonsTreeMap.AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
AbstractMultiTreeMapMapBased() |
AbstractMultiTreeMapMapBased(Comparator<? super KEYTYPE1> aComparator) |
AbstractMultiTreeMapMapBased(KEYTYPE1 aKey,
ICommonsMap<KEYTYPE2,VALUETYPE> aValue) |
AbstractMultiTreeMapMapBased(KEYTYPE1 aKey,
KEYTYPE2 aInnerKey,
VALUETYPE aValue) |
AbstractMultiTreeMapMapBased(Map<? extends KEYTYPE1,? extends ICommonsMap<KEYTYPE2,VALUETYPE>> aCont) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract ICommonsMap<KEYTYPE2,VALUETYPE> |
createNewInnerMap() |
ICommonsMap<KEYTYPE2,VALUETYPE> |
getOrCreate(KEYTYPE1 aKey)
Get or create the collection of the specified key.
|
getCloneceilingEntry, 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, forEachSingle, getSingle, getTotalValueCount, putAllIn, putSingle, removeSingleaddAll, copyOfEntrySet, copyOfKeySet, copyOfValues, copyOfValues, copyOfValuesMapped, copyOfValuesMapped, findFirstEntry, findFirstKey, findFirstValue, getAsUnmodifiable, getFirstEntry, getFirstKey, getFirstValue, getSortedByKey, getSortedByValue, getSwappedKeyValues, isNotEmpty, putIf, putIfNotNull, removeAll, setAllclear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesgetClonegetAsUnmodifiableceilingEntry, ceilingKey, descendingKeySet, descendingMap, firstEntry, floorEntry, floorKey, headMap, headMap, higherEntry, higherKey, lastEntry, lowerEntry, lowerKey, navigableKeySet, pollFirstEntry, pollLastEntry, subMap, subMap, tailMap, tailMapgetFirstKey, getFirstValue, getLastKey, getLastValuepublic AbstractMultiTreeMapMapBased()
public AbstractMultiTreeMapMapBased(@Nullable Comparator<? super KEYTYPE1> aComparator)
public AbstractMultiTreeMapMapBased(@Nonnull KEYTYPE1 aKey, @Nonnull KEYTYPE2 aInnerKey, @Nullable VALUETYPE aValue)
public AbstractMultiTreeMapMapBased(@Nullable KEYTYPE1 aKey, @Nullable ICommonsMap<KEYTYPE2,VALUETYPE> aValue)
@Nonnull protected abstract ICommonsMap<KEYTYPE2,VALUETYPE> createNewInnerMap()
@Nonnull public ICommonsMap<KEYTYPE2,VALUETYPE> getOrCreate(@Nullable KEYTYPE1 aKey)
IMultiMapMapBasedgetOrCreate in interface IMultiMapMapBased<KEYTYPE1,KEYTYPE2,VALUETYPE>aKey - The key to use. May not be null.null.Copyright © 2014–2016 Philip Helger. All rights reserved.