Package com.mchange.v1.identicator
Class IdHashMap
- java.lang.Object
-
- java.util.AbstractMap
-
- com.mchange.v1.identicator.IdHashMap
-
- All Implemented Interfaces:
java.util.Map
public final class IdHashMap extends java.util.AbstractMap implements java.util.Map
-
-
Constructor Summary
Constructors Constructor Description IdHashMap(Identicator id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
containsKey(java.lang.Object key)
protected java.util.Map.Entry
createIdEntry(java.lang.Object key, java.lang.Object val)
protected java.util.Map.Entry
createIdEntry(java.util.Map.Entry entry)
protected com.mchange.v1.identicator.IdHashKey
createIdKey(java.lang.Object o)
java.util.Set
entrySet()
java.lang.Object
get(java.lang.Object key)
protected java.util.Set
internalEntrySet()
java.lang.Object
put(java.lang.Object key, java.lang.Object value)
java.lang.Object
remove(java.lang.Object key)
protected java.lang.Object
removeIdHashKey(com.mchange.v1.identicator.IdHashKey idhk)
-
Methods inherited from class java.util.AbstractMap
clear, clone, containsValue, equals, hashCode, isEmpty, keySet, putAll, size, toString, values
-
-
-
-
Constructor Detail
-
IdHashMap
public IdHashMap(Identicator id)
-
-
Method Detail
-
createIdKey
protected com.mchange.v1.identicator.IdHashKey createIdKey(java.lang.Object o)
-
put
public java.lang.Object put(java.lang.Object key, java.lang.Object value)
- Specified by:
put
in interfacejava.util.Map
- Overrides:
put
in classjava.util.AbstractMap
-
containsKey
public boolean containsKey(java.lang.Object key)
- Specified by:
containsKey
in interfacejava.util.Map
- Overrides:
containsKey
in classjava.util.AbstractMap
-
get
public java.lang.Object get(java.lang.Object key)
- Specified by:
get
in interfacejava.util.Map
- Overrides:
get
in classjava.util.AbstractMap
-
remove
public java.lang.Object remove(java.lang.Object key)
- Specified by:
remove
in interfacejava.util.Map
- Overrides:
remove
in classjava.util.AbstractMap
-
removeIdHashKey
protected java.lang.Object removeIdHashKey(com.mchange.v1.identicator.IdHashKey idhk)
-
entrySet
public java.util.Set entrySet()
- Specified by:
entrySet
in interfacejava.util.Map
- Specified by:
entrySet
in classjava.util.AbstractMap
-
internalEntrySet
protected final java.util.Set internalEntrySet()
-
createIdEntry
protected final java.util.Map.Entry createIdEntry(java.lang.Object key, java.lang.Object val)
-
createIdEntry
protected final java.util.Map.Entry createIdEntry(java.util.Map.Entry entry)
-
-