---
title: "collections"
kind: "module"
module: "collections"
version: "25.6.0-elide.4"
canonical: "https://graalvm.elide.help/25.6.0-elide.4/api/collections/index.html"
---

# ⬢ collections 25.6.0-elide.4

Every page: [llms.txt](llms.txt), or all in one file: [llms-full.txt](llms-full.txt)

API reference for collections.

## Packages

- [`org.graalvm.collections`](org/graalvm/collections/index.md): The GraalVM SDK collections package contains memory efficient data structures.

## Types in `org.graalvm.collections`

- [`EconomicMap`](org/graalvm/collections/EconomicMap.md) (interface): 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.
- [`EconomicMapUtil`](org/graalvm/collections/EconomicMapUtil.md) (class): Utility methods for the EconomicMap.
- [`EconomicMapWrap`](org/graalvm/collections/EconomicMapWrap.md) (class): Wraps an existing Map as an EconomicMap.
- [`EconomicSet`](org/graalvm/collections/EconomicSet.md) (interface): Memory efficient set data structure.
- [`Equivalence`](org/graalvm/collections/Equivalence.md) (abstract class): Strategy for comparing two objects.
- [`LockFreePool`](org/graalvm/collections/LockFreePool.md) (class): Concurrent lock-free pool data structure.
- [`LockFreePrefixTree`](org/graalvm/collections/LockFreePrefixTree.md) (class): Thread-safe and lock-free prefix-tree implementation in which keys are sequences of 64-bit values, and the values are 64-bit values.
- [`LockFreePrefixTree.Allocator`](org/graalvm/collections/LockFreePrefixTree.Allocator.md) (abstract class): Policy for allocating objects of the lock-free prefix tree.
- [`LockFreePrefixTree.HeapAllocator`](org/graalvm/collections/LockFreePrefixTree.HeapAllocator.md) (class): Allocator that allocates objects directly on the managed heap.
- [`LockFreePrefixTree.Node`](org/graalvm/collections/LockFreePrefixTree.Node.md) (class): No description.
- [`LockFreePrefixTree.ObjectPoolingAllocator`](org/graalvm/collections/LockFreePrefixTree.ObjectPoolingAllocator.md) (class): Allocator that internally maintains several pools of preallocated objects, and allocates objects from those pools.
- [`MapCursor`](org/graalvm/collections/MapCursor.md) (interface): Cursor to iterate over a mutable map.
- [`Pair`](org/graalvm/collections/Pair.md) (class): Utility class representing a pair of values.
- [`SeqLockPrefixTree`](org/graalvm/collections/SeqLockPrefixTree.md) (class): Thread-safe prefix-tree implementation in which keys are sequences of 64-bit values, and the values are 64-bit values.
- [`SeqLockPrefixTree.Node`](org/graalvm/collections/SeqLockPrefixTree.Node.md) (class): No description.
- [`UnmodifiableEconomicMap`](org/graalvm/collections/UnmodifiableEconomicMap.md) (interface): Unmodifiable memory efficient map.
- [`UnmodifiableEconomicSet`](org/graalvm/collections/UnmodifiableEconomicSet.md) (interface): Unmodifiable memory efficient set data structure.
- [`UnmodifiableMapCursor`](org/graalvm/collections/UnmodifiableMapCursor.md) (interface): Cursor to iterate over a map without changing its contents.
