Class LinkedIdentityHashMap<K,V>
java.lang.Object
java.util.AbstractMap<K,V>
org.hibernate.internal.util.collections.LinkedIdentityHashMap<K,V>
- All Implemented Interfaces:
Map<K,
V>
Utility
Map
implementation that uses identity (==) for key comparison and preserves insertion order-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,
V>, AbstractMap.SimpleImmutableEntry<K, V> -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.AbstractMap
clone, equals, hashCode, isEmpty, keySet, putAll, toString, values
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, isEmpty, keySet, merge, putAll, putIfAbsent, remove, replace, replace, replaceAll, values
-
Constructor Details
-
LinkedIdentityHashMap
public LinkedIdentityHashMap() -
LinkedIdentityHashMap
public LinkedIdentityHashMap(int initialCapacity)
-
-
Method Details
-
get
-
containsKey
- Specified by:
containsKey
in interfaceMap<K,
V> - Overrides:
containsKey
in classAbstractMap<K,
V>
-
containsValue
- Specified by:
containsValue
in interfaceMap<K,
V> - Overrides:
containsValue
in classAbstractMap<K,
V>
-
put
-
remove
-
clear
public void clear() -
size
public int size() -
entrySet
-