Package org.graalvm.collections
package org.graalvm.collections
The GraalVM SDK collections package contains memory efficient data structures.
- Since:
- 19.0
- See Also:
-
ClassDescriptionEconomicMap<K,
V> Memory efficient map data structure that dynamically changes its representation depending on the number of entries and is specially optimized for small number of entries.Utility methods for theEconomicMap
.EconomicMapWrap<K,V> Wraps an existingMap
as anEconomicMap
.EconomicSet<E>Memory efficient set data structure.Strategy for comparing two objects.LockFreePool<T>Concurrent lock-free pool data structure.Thread-safe and lock-free prefix-tree implementation in which keys are sequences of 64-bit values, and the values are 64-bit values.Policy for allocating objects of the lock-free prefix tree.Allocator that allocates objects directly on the managed heap.Allocator that internally maintains several pools of preallocated objects, and allocates objects from those pools.MapCursor<K,V> Cursor to iterate over a mutable map.Pair<L,R> Utility class representing a pair of values.Thread-safe prefix-tree implementation in which keys are sequences of 64-bit values, and the values are 64-bit values.Unmodifiable memory efficient map.Unmodifiable memory efficient set data structure.Cursor to iterate over a map without changing its contents.