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, values
protected boolean keyEquals(Object a, Object b)
HashMap
protected int keyHashCode(Object k)
HashMap
keyHashCode
in class HashMap<K,V>
protected boolean valueEquals(Object a, Object b)
HashMap
valueEquals
in class HashMap<K,V>
Copyright © 2018. All rights reserved.