KEYTYPE1 - outer key typeKEYTYPE2 - inner key typeVALUETYPE - value typeMAPTYPE - Inner map type@NotThreadSafe public abstract class AbstractMultiHashMapMapBased<KEYTYPE1,KEYTYPE2,VALUETYPE,MAPTYPE extends ICommonsMap<KEYTYPE2,VALUETYPE>> extends CommonsHashMap<KEYTYPE1,MAPTYPE> implements IMultiMapMapBased<KEYTYPE1,KEYTYPE2,VALUETYPE,MAPTYPE>
HashMap.AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
AbstractMultiHashMapMapBased() |
AbstractMultiHashMapMapBased(KEYTYPE1 aKey,
KEYTYPE2 aInnerKey,
VALUETYPE aValue) |
AbstractMultiHashMapMapBased(KEYTYPE1 aKey,
Map<? extends KEYTYPE2,? extends VALUETYPE> aValue) |
AbstractMultiHashMapMapBased(Map<? extends KEYTYPE1,? extends Map<? extends KEYTYPE2,? extends VALUETYPE>> aCont) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract MAPTYPE |
createNewInnerMap() |
MAPTYPE |
getOrCreate(KEYTYPE1 aKey)
Get or create the collection of the specified key.
|
createInstance, getCloneclear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesequals, hashCode, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcontainsSingle, forEachSingle, getSingle, 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, valuesgetClonepublic AbstractMultiHashMapMapBased()
public AbstractMultiHashMapMapBased(@Nonnull KEYTYPE1 aKey, @Nonnull KEYTYPE2 aInnerKey, @Nullable VALUETYPE aValue)
public AbstractMultiHashMapMapBased(@Nullable KEYTYPE1 aKey, @Nullable Map<? extends KEYTYPE2,? extends VALUETYPE> aValue)
@Nonnull public MAPTYPE getOrCreate(@Nullable KEYTYPE1 aKey)
IMultiMapMapBasedgetOrCreate in interface IMultiMapMapBased<KEYTYPE1,KEYTYPE2,VALUETYPE,MAPTYPE extends ICommonsMap<KEYTYPE2,VALUETYPE>>aKey - The key to use. May not be null.null.Copyright © 2014–2017 Philip Helger. All rights reserved.