public final class IdWeakHashMap 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 |
---|
IdWeakHashMap(Identicator id) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
containsKey(Object o) |
boolean |
containsValue(Object o) |
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() |
boolean |
equals(Object o) |
Object |
get(Object o) |
int |
hashCode() |
protected Set |
internalEntrySet() |
boolean |
isEmpty() |
Set |
keySet() |
Object |
put(Object k,
Object v) |
void |
putAll(Map m) |
Object |
remove(Object o) |
protected Object |
removeIdHashKey(com.mchange.v1.identicator.IdHashKey idhk) |
int |
size() |
Collection |
values() |
clone, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public IdWeakHashMap(Identicator id)
public int size()
size
in interface Map
size
in class AbstractMap
public boolean isEmpty()
isEmpty
in interface Map
isEmpty
in class AbstractMap
public boolean containsKey(Object o)
containsKey
in interface Map
public boolean containsValue(Object o)
containsValue
in interface Map
containsValue
in class AbstractMap
public void putAll(Map m)
putAll
in interface Map
putAll
in class AbstractMap
public void clear()
clear
in interface Map
clear
in class AbstractMap
public Set keySet()
keySet
in interface Map
keySet
in class AbstractMap
public Collection values()
values
in interface Map
values
in class AbstractMap
public boolean equals(Object o)
equals
in interface Map
equals
in class AbstractMap
public int hashCode()
hashCode
in interface Map
hashCode
in class AbstractMap
protected com.mchange.v1.identicator.IdHashKey createIdKey(Object o)
protected Object removeIdHashKey(com.mchange.v1.identicator.IdHashKey idhk)
protected final Set internalEntrySet()
Copyright © 2017 com.mchange. All rights reserved.