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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
boolean
boolean
protected final Map.Entry
createIdEntry
(Object key, Object val) protected final Map.Entry
createIdEntry
(Map.Entry entry) protected com.mchange.v1.identicator.IdHashKey
entrySet()
boolean
int
hashCode()
protected final Set
boolean
isEmpty()
keySet()
void
protected Object
removeIdHashKey
(com.mchange.v1.identicator.IdHashKey idhk) int
size()
values()
Methods inherited from class java.util.AbstractMap
clone, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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:
size
in interfaceMap
- Overrides:
size
in classAbstractMap
-
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in interfaceMap
- Overrides:
isEmpty
in classAbstractMap
-
containsKey
- Specified by:
containsKey
in interfaceMap
-
containsValue
- Specified by:
containsValue
in interfaceMap
- Overrides:
containsValue
in classAbstractMap
-
get
-
put
-
remove
-
putAll
- Specified by:
putAll
in interfaceMap
- Overrides:
putAll
in classAbstractMap
-
clear
public void clear()- Specified by:
clear
in interfaceMap
- Overrides:
clear
in classAbstractMap
-
keySet
- Specified by:
keySet
in interfaceMap
- Overrides:
keySet
in classAbstractMap
-
values
- Specified by:
values
in interfaceMap
- Overrides:
values
in classAbstractMap
-
entrySet
-
equals
- Specified by:
equals
in interfaceMap
- Overrides:
equals
in classAbstractMap
-
hashCode
public int hashCode()- Specified by:
hashCode
in interfaceMap
- Overrides:
hashCode
in classAbstractMap
-
createIdKey
-
removeIdHashKey
-
internalEntrySet
-
createIdEntry
-
createIdEntry
-