KEYTYPE1 - outer key typeKEYTYPE2 - inner key typeVALUETYPE - value type@NotThreadSafe public abstract class AbstractMultiLinkedHashMapMapBased<KEYTYPE1,KEYTYPE2,VALUETYPE> extends CommonsLinkedHashMap<KEYTYPE1,ICommonsMap<KEYTYPE2,VALUETYPE>> implements IMultiMapMapBased<KEYTYPE1,KEYTYPE2,VALUETYPE>
CommonsLinkedHashMap.AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
AbstractMultiLinkedHashMapMapBased() |
AbstractMultiLinkedHashMapMapBased(KEYTYPE1 aKey,
ICommonsMap<KEYTYPE2,VALUETYPE> aValue) |
AbstractMultiLinkedHashMapMapBased(KEYTYPE1 aKey,
KEYTYPE2 aInnerKey,
VALUETYPE aValue) |
AbstractMultiLinkedHashMapMapBased(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.
|
getCloneclear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, valuesclone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, sizeequals, hashCode, 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, valuesgetClonecopyOfEntrySet, copyOfKeySet, getLastKey, getLastValuepublic AbstractMultiLinkedHashMapMapBased()
public AbstractMultiLinkedHashMapMapBased(@Nonnull KEYTYPE1 aKey, @Nonnull KEYTYPE2 aInnerKey, @Nullable VALUETYPE aValue)
public AbstractMultiLinkedHashMapMapBased(@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.