Package com.mchange.v1.identicator
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 java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
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 java.util.AbstractMap
clone, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.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
-