Machine-readable versions of this page. Markdown: https://graalvm.elide.help/25.6.0-elide.4/api/collections/index-all.md . Index of every page (llms.txt): https://graalvm.elide.help/25.6.0-elide.4/api/collections/llms.txt . The whole reference in one Markdown file: https://graalvm.elide.help/25.6.0-elide.4/api/collections/llms-full.txt . Declaration contracts: https://graalvm.elide.help/25.6.0-elide.4/api/collections/contracts.ndjson . The API model as JSON (apidocs/1): https://graalvm.elide.help/25.6.0-elide.4/api/collections/api.json .
at(long)method in SeqLockPrefixTree.Node Get existing (or create if missing) child with the given key.
B
bitwiseOrValue(long)method in LockFreePrefixTree.Node Atomically does the bitwise-or on the current value.
C
clear()method in EconomicMap Removes all the mappings from this map.
clear()method in EconomicMapWrap Removes all the mappings from this map.
clear()method in EconomicSet Removes all the elements from this set.
computeIfAbsent(K, Function)method in EconomicMap If the specified key is not already associated with a value (or is mapped to null), attempts to compute its value using the given mapping function and enters it into this map unless null.
computeIfAbsent(K, Function)method in EconomicMapWrap If the specified key is not already associated with a value (or is mapped to null), attempts to compute its value using the given mapping function and enters it into this map unless null.
contains(E)method in UnmodifiableEconomicSet Returns true if this set contains a mapping for the element.
containsKey(K)method in EconomicMapWrap Returns true if this map contains a mapping for key.
containsKey(K)method in UnmodifiableEconomicMap Returns true if this map contains a mapping for key.
create()method in EconomicMap Creates a new map that guarantees insertion order on the key set with the default Equivalence.DEFAULT comparison strategy for keys.
create()method in EconomicSet Creates a new set guaranteeing insertion order when iterating over its elements with the default Equivalence.DEFAULT comparison strategy.
create(Equivalence)method in EconomicMap Creates a new map that guarantees insertion order on the key set with the given comparison strategy for keys.
create(Equivalence)method in EconomicSet Creates a new set guaranteeing insertion order when iterating over its elements.
create(Equivalence, int)method in EconomicMap Creates a new map that guarantees insertion order on the key set and initializes with a specified capacity.
create(Equivalence, int)method in EconomicSet Creates a new set guaranteeing insertion order when iterating over its elements and initializes with the given capacity.
create(Equivalence, UnmodifiableEconomicMap)method in EconomicMap Creates a new map that guarantees insertion order on the key set and copies all elements from the specified existing map.
create(Equivalence, UnmodifiableEconomicSet)method in EconomicSet Creates a new set guaranteeing insertion order when iterating over its elements and inserts all elements of the specified collection.
create(int)method in EconomicMap Creates a new map that guarantees insertion order on the key set with the default Equivalence.DEFAULT comparison strategy for keys and initializes with a specified capacity.
create(int)method in EconomicSet Creates a new set guaranteeing insertion order when iterating over its elements with the default Equivalence.DEFAULT comparison strategy.
create(Iterable)method in EconomicSet Creates a new set guaranteeing insertion order when iterating over its elements with the default Equivalence.DEFAULT comparison strategy and inserts all elements of the specified iterable.
create(L, R)method in Pair Constructs a pair with its left value being left, and its right value being right, or returns an empty pair if both inputs are null.
create(UnmodifiableEconomicMap)method in EconomicMap Creates a new map that guarantees insertion order on the key set with the default Equivalence.DEFAULT comparison strategy for keys and copies all elements from the specified existing map.
create(UnmodifiableEconomicSet)method in EconomicSet Creates a new set guaranteeing insertion order when iterating over its elements with the default Equivalence.DEFAULT comparison strategy and inserts all elements of the specified collection.
createLeft(L)method in Pair Constructs a pair with its left value being left, or returns an empty pair if left is null.
createRight(R)method in Pair Constructs a pair with its right value being right, or returns an empty pair if right is null.
D
DEFAULTfield in Equivalence Default equivalence calling equals(Object) to check equality and hashCode() for obtaining hash values.
E
IEconomicMapinterface in org.graalvm.collections 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.
CLockFreePrefixTreeclass in org.graalvm.collections Thread-safe and lock-free prefix-tree implementation in which keys are sequences of 64-bit values, and the values are 64-bit values.
CObjectPoolingAllocatorclass in org.graalvm.collections Allocator that internally maintains several pools of preallocated objects, and allocates objects from those pools.
putIfAbsent(K, V)method in EconomicMap If the specified key is not already associated with a value (or is mapped to null) associates it with the given value and returns null, else returns the current value.
putIfAbsent(K, V)method in EconomicMapWrap If the specified key is not already associated with a value (or is mapped to null) associates it with the given value and returns null, else returns the current value.
R
remove()method in MapCursor Remove the current entry from the map.
remove(E)method in EconomicSet Removes non-null element from this set if it is present.
removeAll(EconomicSet)method in EconomicSet Removes from this set all of its elements that are contained in other.
removeAll(Iterable)method in EconomicSet Removes from this set all of its elements that are contained in values.
removeAll(Iterator)method in EconomicSet Removes from this set all of its elements that are enumerated by iterator.
removeKey(K)method in EconomicMap Removes the mapping for key from this map if it is present.
removeKey(K)method in EconomicMapWrap Removes the mapping for key from this map if it is present.
replaceAll(BiFunction)method in EconomicMap Replaces each entry's value with the result of invoking function on that entry until all entries have been processed or the function throws an exception.
replaceAll(BiFunction)method in EconomicMapWrap Replaces each entry's value with the result of invoking function on that entry until all entries have been processed or the function throws an exception.
reset()method in LockFreePrefixTree Resets the tree.
retainAll(EconomicSet)method in EconomicSet Removes from this set all of its elements that are not contained in other.
root()method in LockFreePrefixTree The root node of the tree.
root()method in SeqLockPrefixTree The root node of the tree.
S
CSeqLockPrefixTreeclass in org.graalvm.collections Thread-safe prefix-tree implementation in which keys are sequences of 64-bit values, and the values are 64-bit values.