public final class IdHashMap extends AbstractMap implements Map
Modifier and Type | Class and Description |
---|---|
protected static class |
IdMap.UserEntry |
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
IdHashMap(Identicator id) |
Modifier and Type | Method and Description |
---|---|
boolean |
containsKey(Object key) |
protected Map.Entry |
createIdEntry(Map.Entry entry) |
protected Map.Entry |
createIdEntry(Object key,
Object val) |
protected com.mchange.v1.identicator.IdHashKey |
createIdKey(Object o) |
Set |
entrySet() |
Object |
get(Object key) |
protected Set |
internalEntrySet() |
Object |
put(Object key,
Object value) |
Object |
remove(Object key) |
protected Object |
removeIdHashKey(com.mchange.v1.identicator.IdHashKey idhk) |
clear, clone, containsValue, equals, hashCode, isEmpty, keySet, putAll, size, toString, values
finalize, getClass, notify, notifyAll, wait, wait, wait
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
public IdHashMap(Identicator id)
protected com.mchange.v1.identicator.IdHashKey createIdKey(Object o)
public Object put(Object key, Object value)
put
in interface Map
put
in class AbstractMap
public boolean containsKey(Object key)
containsKey
in interface Map
containsKey
in class AbstractMap
public Object get(Object key)
get
in interface Map
get
in class AbstractMap
public Object remove(Object key)
remove
in interface Map
remove
in class AbstractMap
protected Object removeIdHashKey(com.mchange.v1.identicator.IdHashKey idhk)
public Set entrySet()
entrySet
in interface Map
entrySet
in class AbstractMap
protected final Set internalEntrySet()
Copyright © 2018 com.mchange. All rights reserved.