KEYTYPE - key typeVALUETYPE - value typeCOLLTYPE - contained collection type@NotThreadSafe public abstract class AbstractMultiTreeMap<KEYTYPE,VALUETYPE,COLLTYPE extends ICommonsCollection<VALUETYPE>> extends CommonsTreeMap<KEYTYPE,COLLTYPE> implements IMultiMap<KEYTYPE,VALUETYPE,COLLTYPE>
CommonsTreeMap.AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
AbstractMultiTreeMap() |
AbstractMultiTreeMap(Comparator<? super KEYTYPE> aComparator) |
AbstractMultiTreeMap(KEYTYPE aKey,
COLLTYPE aCollection) |
AbstractMultiTreeMap(KEYTYPE aKey,
VALUETYPE aValue) |
AbstractMultiTreeMap(Map<? extends KEYTYPE,? extends COLLTYPE> aCont) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract COLLTYPE |
createNewCollection() |
COLLTYPE |
getOrCreate(KEYTYPE aKey)
Get or create the collection of the specified key.
|
createInstance, 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, forEachSingleValue, getTotalValueCount, putAllIn, putSingle, removeSingleaddAll, containsAnyEntry, containsAnyKey, containsAnyValue, copyOfEntrySet, copyOfKeySet, copyOfKeySet, copyOfValues, copyOfValues, copyOfValuesMapped, copyOfValuesMapped, createInstance, findFirstEntry, findFirstKey, findFirstValue, forEach, forEachKey, forEachKey, forEachValue, forEachValue, getAsUnmodifiable, getFirstEntry, getFirstEntry, getFirstKey, getFirstKey, getFirstValue, getFirstValue, getSortedByKey, getSortedByValue, getSwappedKeyValues, isNotEmpty, putAll, putAll, putAllMapped, putAllMapped, putAllMapped, putIf, putIfNotNull, removeAll, removeObject, 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, tailMapcopyOfEntrySet, copyOfKeySet, copyOfKeySet, getFirstKey, getFirstValue, getLastKey, getLastKey, getLastValue, getLastValuepublic AbstractMultiTreeMap()
public AbstractMultiTreeMap(@Nullable Comparator<? super KEYTYPE> aComparator)
public AbstractMultiTreeMap(@Nullable KEYTYPE aKey, @Nullable COLLTYPE aCollection)
@Nonnull @ReturnsMutableCopy protected abstract COLLTYPE createNewCollection()
@Nonnull public COLLTYPE getOrCreate(@Nullable KEYTYPE aKey)
IMultiMapgetOrCreate in interface IMultiMap<KEYTYPE,VALUETYPE,COLLTYPE extends ICommonsCollection<VALUETYPE>>aKey - The key to use. May not be null.null.Copyright © 2014–2017 Philip Helger. All rights reserved.