K - the key typeV - the value typepublic class IdentityHashMap<K,V> extends HashMap<K,V>
| Constructor and Description |
|---|
IdentityHashMap() |
IdentityHashMap(Map<? extends K,? extends V> m) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
keyEquals(Object a,
Object b)
Returns whether two keys are equal for the purposes of this set.
|
protected int |
keyHashCode(Object k)
Returns the hashCode for a key.
|
protected boolean |
valueEquals(Object a,
Object b)
Returns whether two values are equal for the purposes of this set.
|
protected int |
valueHashCode(Object k)
Returns the hashCode for a value.
|
clear, containsKey, containsValue, doReadObject, doWriteObject, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, toString, valuesprotected boolean keyEquals(Object a, Object b)
HashMapprotected int keyHashCode(Object k)
HashMapkeyHashCode in class HashMap<K,V>protected boolean valueEquals(Object a, Object b)
HashMapvalueEquals in class HashMap<K,V>Copyright © 2018. All rights reserved.