KEYTYPE - key typeVALUETYPE - value typeCOLLTYPE - contained collection type@NotThreadSafe public abstract class AbstractMultiWeakHashMap<KEYTYPE,VALUETYPE,COLLTYPE extends com.helger.commons.collection.impl.ICommonsCollection<VALUETYPE>> extends com.helger.commons.collection.impl.CommonsWeakHashMap<KEYTYPE,COLLTYPE> implements IMultiMap<KEYTYPE,VALUETYPE,COLLTYPE>
WeakHashMap.AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
AbstractMultiWeakHashMap() |
AbstractMultiWeakHashMap(KEYTYPE aKey,
COLLTYPE aCollection) |
AbstractMultiWeakHashMap(KEYTYPE aKey,
VALUETYPE aValue) |
AbstractMultiWeakHashMap(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, getCloneclear, containsKey, containsValue, entrySet, forEach, get, isEmpty, keySet, put, putAll, remove, replaceAll, size, valuesclone, equals, hashCode, 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, put, putAll, putAll, putAllMapped, putAllMapped, putAllMapped, putIf, putIfNotNull, removeAll, removeIf, removeIfKey, removeIfValue, 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, valuespublic AbstractMultiWeakHashMap()
public AbstractMultiWeakHashMap(@Nonnull KEYTYPE aKey, @Nullable VALUETYPE aValue)
public AbstractMultiWeakHashMap(@Nonnull KEYTYPE aKey, @Nullable COLLTYPE aCollection)
Copyright © 2017–2020 Philip Helger. All rights reserved.