
K - key typeV - value typepublic class IdentityHashMap<K,V> extends AbstractMap<K,V> implements Map<K,V>, Cloneable, Serializable
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
IdentityHashMap() |
IdentityHashMap(int ignored) |
IdentityHashMap(Map<? extends K,? extends V> toBeCopied) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
Object |
clone() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<K,V>> |
entrySet() |
boolean |
equals(Object obj) |
V |
get(Object key) |
int |
hashCode() |
V |
put(K key,
V value) |
V |
remove(Object key) |
int |
size() |
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuespublic IdentityHashMap()
public IdentityHashMap(int ignored)
public Object clone()
public boolean equals(Object obj)
equals in class AbstractMap<K,V>public int hashCode()
hashCode in class AbstractMap<K,V>public void clear()
public boolean containsKey(Object key)
containsKey in interface Map<K,V>containsKey in class AbstractMap<K,V>public boolean containsValue(Object value)
containsValue in interface Map<K,V>containsValue in class AbstractMap<K,V>Copyright © 2018. All rights reserved.