com.mchange.v1.identicator
Class IdWeakHashMap
java.lang.Object
java.util.AbstractMap
com.mchange.v1.identicator.IdWeakHashMap
- All Implemented Interfaces:
- Map
public final class IdWeakHashMap
- extends AbstractMap
- implements Map
IdWeakHashMap is NOT null-accepting!
Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
IdWeakHashMap
public IdWeakHashMap(Identicator id)
size
public int size()
- Specified by:
size
in interface Map
- Overrides:
size
in class AbstractMap
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interface Map
- Overrides:
isEmpty
in class AbstractMap
containsKey
public boolean containsKey(Object o)
- Specified by:
containsKey
in interface Map
containsValue
public boolean containsValue(Object o)
- Specified by:
containsValue
in interface Map
- Overrides:
containsValue
in class AbstractMap
get
public Object get(Object o)
- Specified by:
get
in interface Map
put
public Object put(Object k,
Object v)
- Specified by:
put
in interface Map
remove
public Object remove(Object o)
- Specified by:
remove
in interface Map
putAll
public void putAll(Map m)
- Specified by:
putAll
in interface Map
- Overrides:
putAll
in class AbstractMap
clear
public void clear()
- Specified by:
clear
in interface Map
- Overrides:
clear
in class AbstractMap
keySet
public Set keySet()
- Specified by:
keySet
in interface Map
- Overrides:
keySet
in class AbstractMap
values
public Collection values()
- Specified by:
values
in interface Map
- Overrides:
values
in class AbstractMap
entrySet
public Set entrySet()
- Specified by:
entrySet
in interface Map
equals
public boolean equals(Object o)
- Specified by:
equals
in interface Map
- Overrides:
equals
in class AbstractMap
hashCode
public int hashCode()
- Specified by:
hashCode
in interface Map
- Overrides:
hashCode
in class AbstractMap
createIdKey
protected com.mchange.v1.identicator.IdHashKey createIdKey(Object o)
removeIdHashKey
protected Object removeIdHashKey(com.mchange.v1.identicator.IdHashKey idhk)
internalEntrySet
protected final Set internalEntrySet()
createIdEntry
protected final Map.Entry createIdEntry(Object key,
Object val)
createIdEntry
protected final Map.Entry createIdEntry(Map.Entry entry)