Package org.hibernate.internal.util.collections
package org.hibernate.internal.util.collections
-
ClassDescriptionArray-like structures that organizes elements in
AbstractPagedArray.Page
s, automatically allocating more as needed.Represents a page ofAbstractPagedArray.PAGE_CAPACITY
objects in the overall array.Deprecated, for removal: This API element is subject to removal in a future version.We shouldn't maintain a cache implementation in the Hibernate ORM codebase, so this will be eventually removed as we encourage to plug-in external implementations for all caching needs.Wraps a ConcurrentHashMap having all keys as Strings and ensures all keys are lowercased.Various helper util methods for handling collections.IdentityMap<K,V> AMap
where keys are compared by object identity, rather than usingObject.equals(Object)
.IdentitySet<E>Set implementation that use == instead of equals() as its comparison mechanism.Utility collection that takes advantage ofInstanceIdentity
's identifier to store objects.JoinedList<E>LazyIndexedMap<K,V> This is an internal data structure designed for very specific needs; it will most often be used as a replacement for EnumMap, although the focus on the Enum aspect is modelled as an int primitive: think of using the ordinals of an Enum to simulate the EnumMap.LazySet<T>UtilityMap
implementation that uses identity (==) for key comparison and preserves insertion orderA concurrent safe EnumMap<LockMode>, suitable to lazily associate values to the enum keys.For efficient lookup based on Class types as key, a ClassValue should be used; however it requires lazy association of values; this helper wraps a plain HashMap but optimises lookups via the ClassValue.ReadOnlyMap<K,V> Stack<T>Stack implementation exposing useful methods for Hibernate needs.A general-purpose stack impl supporting null values.