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, valuesMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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:
containsKeyin interfaceMap<K,V> - Overrides:
containsKeyin classAbstractMap<K,V>
-
containsValue
- Specified by:
containsValuein interfaceMap<K,V> - Overrides:
containsValuein classAbstractMap<K,V>
-
put
-
remove
-
clear
public void clear() -
size
public int size() -
entrySet
-