Class IdWeakHashMap
java.lang.Object
java.util.AbstractMap
com.mchange.v1.identicator.IdWeakHashMap
- All Implemented Interfaces:
Map
IdWeakHashMap is NOT null-accepting!
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K, V> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()booleanbooleanprotected final Map.EntrycreateIdEntry(Object key, Object val) protected final Map.EntrycreateIdEntry(Map.Entry entry) protected com.mchange.v1.identicator.IdHashKeyentrySet()booleaninthashCode()protected final SetbooleanisEmpty()keySet()voidprotected ObjectremoveIdHashKey(com.mchange.v1.identicator.IdHashKey idhk) intsize()values()Methods inherited from class AbstractMap
clone, toStringMethods inherited from interface Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
IdWeakHashMap
-
-
Method Details
-
size
public int size()- Specified by:
sizein interfaceMap- Overrides:
sizein classAbstractMap
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceMap- Overrides:
isEmptyin classAbstractMap
-
containsKey
- Specified by:
containsKeyin interfaceMap
-
containsValue
- Specified by:
containsValuein interfaceMap- Overrides:
containsValuein classAbstractMap
-
get
-
put
-
remove
-
putAll
- Specified by:
putAllin interfaceMap- Overrides:
putAllin classAbstractMap
-
clear
public void clear()- Specified by:
clearin interfaceMap- Overrides:
clearin classAbstractMap
-
keySet
- Specified by:
keySetin interfaceMap- Overrides:
keySetin classAbstractMap
-
values
- Specified by:
valuesin interfaceMap- Overrides:
valuesin classAbstractMap
-
entrySet
-
equals
- Specified by:
equalsin interfaceMap- Overrides:
equalsin classAbstractMap
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceMap- Overrides:
hashCodein classAbstractMap
-
createIdKey
-
removeIdHashKey
-
internalEntrySet
-
createIdEntry
-
createIdEntry
-