{"symbol":"org.graalvm.collections.EconomicMap","href":"org/graalvm/collections/EconomicMap.html","name":"EconomicMap","kind":"interface","signature":"public interface EconomicMap<K, V> extends UnmodifiableEconomicMap<K, V>","summary":"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.","detailsOmitted":true}
{"symbol":"org.graalvm.collections.EconomicMap.put(K, V)","href":"org/graalvm/collections/EconomicMap.html#put(K,V)","name":"put","kind":"method","signature":"V put(K key, V value)","summary":"Associates value with key in this map.","details":"If the map previously contained a mapping for key, the old value is replaced by value. While the value may be null, the key must not be {code null}.","params":[{"name":"key","type":"K"},{"name":"value","type":"V"}],"returns":{"type":"V","doc":"the previous value associated with key, or null if there was no mapping for key."},"throws":[{"type":"UnsupportedOperationException","doc":"if key == null"}]}
{"symbol":"org.graalvm.collections.EconomicMap.putIfAbsent(K, V)","href":"org/graalvm/collections/EconomicMap.html#putIfAbsent(K,V)","name":"putIfAbsent","kind":"method","signature":"default V putIfAbsent(K key, V value)","summary":"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.","params":[{"name":"key","type":"K","doc":"non-null key with which the specified value is to be associated"},{"name":"value","type":"V","doc":"value to be associated with the specified key"}],"returns":{"type":"V","doc":"the previous value associated with the specified key, or null if there was no mapping for the key. (A null return can also indicate that the map previously associated null with the key, if the implementation supports null values.)"},"throws":[{"type":"UnsupportedOperationException","doc":"if key == null"}]}
{"symbol":"org.graalvm.collections.EconomicMap.putAll(EconomicMap)","href":"org/graalvm/collections/EconomicMap.html#putAll(org.graalvm.collections.EconomicMap)","name":"putAll","kind":"method","signature":"default void putAll(EconomicMap<K, V> other)","summary":"Copies all the mappings from other to this map.","params":[{"name":"other","type":"EconomicMap<K, V>"}]}
{"symbol":"org.graalvm.collections.EconomicMap.putAll(UnmodifiableEconomicMap)","href":"org/graalvm/collections/EconomicMap.html#putAll(org.graalvm.collections.UnmodifiableEconomicMap)","name":"putAll","kind":"method","signature":"default void putAll(UnmodifiableEconomicMap<? extends K, ? extends V> other)","summary":"Copies all the mappings from other to this map.","params":[{"name":"other","type":"UnmodifiableEconomicMap<? extends K, ? extends V>"}]}
{"symbol":"org.graalvm.collections.EconomicMap.clear()","href":"org/graalvm/collections/EconomicMap.html#clear()","name":"clear","kind":"method","signature":"void clear()","summary":"Removes all the mappings from this map.","details":"The map will be empty after this call returns."}
{"symbol":"org.graalvm.collections.EconomicMap.removeKey(K)","href":"org/graalvm/collections/EconomicMap.html#removeKey(K)","name":"removeKey","kind":"method","signature":"V removeKey(K key)","summary":"Removes the mapping for key from this map if it is present.","details":"The map will not contain a mapping for key once the call returns. The key must not be null.","params":[{"name":"key","type":"K"}],"returns":{"type":"V","doc":"the previous value associated with key, or null if there was no mapping for key."}}
{"symbol":"org.graalvm.collections.EconomicMap.getEntries()","href":"org/graalvm/collections/EconomicMap.html#getEntries()","name":"getEntries","kind":"method","signature":"MapCursor<K, V> getEntries()","summary":"Returns a MapCursor view of the mappings contained in this map.","returns":{"type":"MapCursor<K, V>"}}
{"symbol":"org.graalvm.collections.EconomicMap.replaceAll(BiFunction)","href":"org/graalvm/collections/EconomicMap.html#replaceAll(java.util.function.BiFunction)","name":"replaceAll","kind":"method","signature":"void replaceAll(BiFunction<? super K, ? super V, ? extends V> function)","summary":"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.","details":"Exceptions thrown by the function are relayed to the caller.","params":[{"name":"function","type":"BiFunction<? super K, ? super V, ? extends V>"}]}
{"symbol":"org.graalvm.collections.EconomicMap.trimToSize()","href":"org/graalvm/collections/EconomicMap.html#trimToSize()","name":"trimToSize","kind":"method","signature":"default void trimToSize()","summary":"Trims any implementation-specific storage so it does not retain unused capacity.","details":"This method does not change the mappings in this map. Implementations that do not retain trimmable storage may leave this method as a no-op."}
{"symbol":"org.graalvm.collections.EconomicMap.create()","href":"org/graalvm/collections/EconomicMap.html#create()","name":"create","kind":"method","signature":"static <K, V> EconomicMap<K, V> create()","summary":"Creates a new map that guarantees insertion order on the key set with the default Equivalence.DEFAULT comparison strategy for keys.","returns":{"type":"EconomicMap<K, V>"}}
{"symbol":"org.graalvm.collections.EconomicMap.create(int)","href":"org/graalvm/collections/EconomicMap.html#create(int)","name":"create","kind":"method","signature":"static <K, V> EconomicMap<K, V> create(int initialCapacity)","summary":"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.","params":[{"name":"initialCapacity","type":"int"}],"returns":{"type":"EconomicMap<K, V>"}}
{"symbol":"org.graalvm.collections.EconomicMap.create(Equivalence)","href":"org/graalvm/collections/EconomicMap.html#create(org.graalvm.collections.Equivalence)","name":"create","kind":"method","signature":"static <K, V> EconomicMap<K, V> create(Equivalence strategy)","summary":"Creates a new map that guarantees insertion order on the key set with the given comparison strategy for keys.","params":[{"name":"strategy","type":"Equivalence"}],"returns":{"type":"EconomicMap<K, V>"}}
{"symbol":"org.graalvm.collections.EconomicMap.create(UnmodifiableEconomicMap)","href":"org/graalvm/collections/EconomicMap.html#create(org.graalvm.collections.UnmodifiableEconomicMap)","name":"create","kind":"method","signature":"static <K, V> EconomicMap<K, V> create(UnmodifiableEconomicMap<K, V> m)","summary":"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.","params":[{"name":"m","type":"UnmodifiableEconomicMap<K, V>"}],"returns":{"type":"EconomicMap<K, V>"}}
{"symbol":"org.graalvm.collections.EconomicMap.create(Equivalence, UnmodifiableEconomicMap)","href":"org/graalvm/collections/EconomicMap.html#create(org.graalvm.collections.Equivalence,org.graalvm.collections.UnmodifiableEconomicMap)","name":"create","kind":"method","signature":"static <K, V> EconomicMap<K, V> create(Equivalence strategy, UnmodifiableEconomicMap<K, V> m)","summary":"Creates a new map that guarantees insertion order on the key set and copies all elements from the specified existing map.","params":[{"name":"strategy","type":"Equivalence"},{"name":"m","type":"UnmodifiableEconomicMap<K, V>"}],"returns":{"type":"EconomicMap<K, V>"}}
{"symbol":"org.graalvm.collections.EconomicMap.create(Equivalence, int)","href":"org/graalvm/collections/EconomicMap.html#create(org.graalvm.collections.Equivalence,int)","name":"create","kind":"method","signature":"static <K, V> EconomicMap<K, V> create(Equivalence strategy, int initialCapacity)","summary":"Creates a new map that guarantees insertion order on the key set and initializes with a specified capacity.","params":[{"name":"strategy","type":"Equivalence"},{"name":"initialCapacity","type":"int"}],"returns":{"type":"EconomicMap<K, V>"}}
{"symbol":"org.graalvm.collections.EconomicMap.wrapMap(Map)","href":"org/graalvm/collections/EconomicMap.html#wrapMap(java.util.Map)","name":"wrapMap","kind":"method","signature":"static <K, V> EconomicMap<K, V> wrapMap(Map<K, V> map)","summary":"Wraps an existing Map as an EconomicMap.","params":[{"name":"map","type":"Map<K, V>"}],"returns":{"type":"EconomicMap<K, V>"}}
{"symbol":"org.graalvm.collections.EconomicMap.emptyCursor()","href":"org/graalvm/collections/EconomicMap.html#emptyCursor()","name":"emptyCursor","kind":"method","signature":"static <K, V> MapCursor<K, V> emptyCursor()","summary":"Return an empty MapCursor.","returns":{"type":"MapCursor<K, V>"}}
{"symbol":"org.graalvm.collections.EconomicMap.emptyMap()","href":"org/graalvm/collections/EconomicMap.html#emptyMap()","name":"emptyMap","kind":"method","signature":"static <K, V> EconomicMap<K, V> emptyMap()","summary":"Return an empty, unmodifiable EconomicMap.","returns":{"type":"EconomicMap<K, V>"}}
{"symbol":"org.graalvm.collections.EconomicMap.of(K, V)","href":"org/graalvm/collections/EconomicMap.html#of(K,V)","name":"of","kind":"method","signature":"static <K, V> EconomicMap<K, V> of(K key1, V value1)","summary":"Creates an EconomicMap with one mapping.","params":[{"name":"key1","type":"K","doc":"the key of the first mapping"},{"name":"value1","type":"V","doc":"the value of the first mapping"}],"returns":{"type":"EconomicMap<K, V>","doc":"a map with the mapping"}}
{"symbol":"org.graalvm.collections.EconomicMap.of(K, V, K, V)","href":"org/graalvm/collections/EconomicMap.html#of(K,V,K,V)","name":"of","kind":"method","signature":"static <K, V> EconomicMap<K, V> of(K key1, V value1, K key2, V value2)","summary":"Creates an EconomicMap with two mappings.","params":[{"name":"key1","type":"K","doc":"the key of the first mapping"},{"name":"value1","type":"V","doc":"the value of the first mapping"},{"name":"key2","type":"K","doc":"the key of the second mapping"},{"name":"value2","type":"V","doc":"the value of the second mapping"}],"returns":{"type":"EconomicMap<K, V>","doc":"a map with two mappings"}}
{"symbol":"org.graalvm.collections.EconomicMap.computeIfAbsent(K, Function)","href":"org/graalvm/collections/EconomicMap.html#computeIfAbsent(K,java.util.function.Function)","name":"computeIfAbsent","kind":"method","signature":"default V computeIfAbsent(K key, Function<? super K, ? extends V> mappingFunction)","summary":"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.","details":"A null result does not add or replace a mapping. The mapping function must not modify this map, or affect key hash code or equivalence during computation. Implementations are not required to detect such changes.","params":[{"name":"key","type":"K","doc":"non-null key with which the specified value is to be associated"},{"name":"mappingFunction","type":"Function<? super K, ? extends V>","doc":"the mapping function to compute a value"}],"returns":{"type":"V","doc":"the current (existing or computed) value associated with the specified key, or null if the computed value is null"}}
{"symbol":"org.graalvm.collections.EconomicMapUtil","href":"org/graalvm/collections/EconomicMapUtil.html","name":"EconomicMapUtil","kind":"class","signature":"public final class EconomicMapUtil","summary":"Utility methods for the EconomicMap."}
{"symbol":"org.graalvm.collections.EconomicMapUtil.equals(UnmodifiableEconomicMap, UnmodifiableEconomicMap)","href":"org/graalvm/collections/EconomicMapUtil.html#equals(org.graalvm.collections.UnmodifiableEconomicMap,org.graalvm.collections.UnmodifiableEconomicMap)","name":"equals","kind":"method","signature":"public static <K, V> boolean equals(UnmodifiableEconomicMap<K, V> lhs, UnmodifiableEconomicMap<K, V> rhs)","summary":"Compares maps for equality.","details":"The maps are equal iff they share the same equivalence strategy, their keys are equal with respect to the strategy and the values are equal as determined by the equals method.","params":[{"name":"lhs","type":"UnmodifiableEconomicMap<K, V>","doc":"the first map to be compared"},{"name":"rhs","type":"UnmodifiableEconomicMap<K, V>","doc":"the second map to be compared"}],"returns":{"type":"boolean","doc":"true iff the maps are equal"}}
{"symbol":"org.graalvm.collections.EconomicMapUtil.hashCode(UnmodifiableEconomicMap)","href":"org/graalvm/collections/EconomicMapUtil.html#hashCode(org.graalvm.collections.UnmodifiableEconomicMap)","name":"hashCode","kind":"method","signature":"public static <K, V> int hashCode(UnmodifiableEconomicMap<K, V> map)","summary":"Computes an order-independent hash code for an EconomicMap.","params":[{"name":"map","type":"UnmodifiableEconomicMap<K, V>","doc":"the input map or null"}],"returns":{"type":"int","doc":"the hash code of the map"}}
{"symbol":"org.graalvm.collections.EconomicMapUtil.keySet(EconomicMap)","href":"org/graalvm/collections/EconomicMapUtil.html#keySet(org.graalvm.collections.EconomicMap)","name":"keySet","kind":"method","signature":"public static <K, V> EconomicSet<K> keySet(EconomicMap<K, V> map)","summary":"Returns an EconomicSet of the keys contained in a map.","params":[{"name":"map","type":"EconomicMap<K, V>","doc":"the input map"}],"returns":{"type":"EconomicSet<K>","doc":"an EconomicSet of the keys contained in a map"}}
{"symbol":"org.graalvm.collections.EconomicMapUtil.lexicographicalComparator(Comparator, Comparator)","href":"org/graalvm/collections/EconomicMapUtil.html#lexicographicalComparator(java.util.Comparator,java.util.Comparator)","name":"lexicographicalComparator","kind":"method","signature":"public static <K, V> Comparator<UnmodifiableEconomicMap<K, V>> lexicographicalComparator(Comparator<K> keyComparator, Comparator<V> valueComparator)","summary":"Creates a lexicographical map comparator using the provided key and value comparators.","details":"The maps are treated as if they were lists with the structure {key1, value1, key2, value2, ...}. The comparison starts by comparing their key1 and if they are equal, it goes on to compare value1, then key2, value2 and so on. If one of the maps is shorter, the comparators are called with null values in place of the missing keys/values.","params":[{"name":"keyComparator","type":"Comparator<K>","doc":"a comparator to compare keys"},{"name":"valueComparator","type":"Comparator<V>","doc":"a comparator to compare values"}],"returns":{"type":"Comparator<UnmodifiableEconomicMap<K, V>>","doc":"a lexicographical map comparator"}}
{"symbol":"org.graalvm.collections.EconomicMapWrap","href":"org/graalvm/collections/EconomicMapWrap.html","name":"EconomicMapWrap","kind":"class","signature":"public class EconomicMapWrap<K, V> implements EconomicMap<K, V>","summary":"Wraps an existing Map as an EconomicMap."}
{"symbol":"org.graalvm.collections.EconomicMapWrap(Map)","href":"org/graalvm/collections/EconomicMapWrap.html#%3Cinit%3E(java.util.Map)","name":"EconomicMapWrap","kind":"constructor","signature":"public EconomicMapWrap(Map<K, V> map)","params":[{"name":"map","type":"Map<K, V>"}]}
{"symbol":"org.graalvm.collections.EconomicMapWrap.get(K)","href":"org/graalvm/collections/EconomicMapWrap.html#get(K)","name":"get","kind":"method","signature":"public V get(K key)","summary":"Returns the value to which key is mapped, or null if this map contains no mapping for key.","details":"The key must not be null.","params":[{"name":"key","type":"K"}],"returns":{"type":"V"}}
{"symbol":"org.graalvm.collections.EconomicMapWrap.get(K, V)","href":"org/graalvm/collections/EconomicMapWrap.html#get(K,V)","name":"get","kind":"method","signature":"public V get(K key, V defaultValue)","summary":"Returns the value to which key is mapped, or defaultValue if this map contains no mapping for key.","details":"The key must not be null. Maps that support {code null} values, need to overwrite this method to appropriately handle the {code null} case.","params":[{"name":"key","type":"K"},{"name":"defaultValue","type":"V"}],"returns":{"type":"V"},"throws":[{"type":"UnsupportedOperationException","doc":"if key == null"}]}
{"symbol":"org.graalvm.collections.EconomicMapWrap.put(K, V)","href":"org/graalvm/collections/EconomicMapWrap.html#put(K,V)","name":"put","kind":"method","signature":"public V put(K key, V value)","summary":"Associates value with key in this map.","details":"If the map previously contained a mapping for key, the old value is replaced by value. While the value may be null, the key must not be {code null}.","params":[{"name":"key","type":"K"},{"name":"value","type":"V"}],"returns":{"type":"V","doc":"the previous value associated with key, or null if there was no mapping for key."}}
{"symbol":"org.graalvm.collections.EconomicMapWrap.putIfAbsent(K, V)","href":"org/graalvm/collections/EconomicMapWrap.html#putIfAbsent(K,V)","name":"putIfAbsent","kind":"method","signature":"public V putIfAbsent(K key, V value)","summary":"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.","params":[{"name":"key","type":"K","doc":"non-null key with which the specified value is to be associated"},{"name":"value","type":"V","doc":"value to be associated with the specified key"}],"returns":{"type":"V","doc":"the previous value associated with the specified key, or null if there was no mapping for the key. (A null return can also indicate that the map previously associated null with the key, if the implementation supports null values.)"}}
{"symbol":"org.graalvm.collections.EconomicMapWrap.size()","href":"org/graalvm/collections/EconomicMapWrap.html#size()","name":"size","kind":"method","signature":"public int size()","summary":"Returns the number of key-value mappings in this map.","returns":{"type":"int"}}
{"symbol":"org.graalvm.collections.EconomicMapWrap.containsKey(K)","href":"org/graalvm/collections/EconomicMapWrap.html#containsKey(K)","name":"containsKey","kind":"method","signature":"public boolean containsKey(K key)","summary":"Returns true if this map contains a mapping for key.","details":"The key must not be null.","params":[{"name":"key","type":"K"}],"returns":{"type":"boolean"}}
{"symbol":"org.graalvm.collections.EconomicMapWrap.clear()","href":"org/graalvm/collections/EconomicMapWrap.html#clear()","name":"clear","kind":"method","signature":"public void clear()","summary":"Removes all the mappings from this map.","details":"The map will be empty after this call returns."}
{"symbol":"org.graalvm.collections.EconomicMapWrap.removeKey(K)","href":"org/graalvm/collections/EconomicMapWrap.html#removeKey(K)","name":"removeKey","kind":"method","signature":"public V removeKey(K key)","summary":"Removes the mapping for key from this map if it is present.","details":"The map will not contain a mapping for key once the call returns. The key must not be null.","params":[{"name":"key","type":"K"}],"returns":{"type":"V","doc":"the previous value associated with key, or null if there was no mapping for key."}}
{"symbol":"org.graalvm.collections.EconomicMapWrap.getValues()","href":"org/graalvm/collections/EconomicMapWrap.html#getValues()","name":"getValues","kind":"method","signature":"public Iterable<V> getValues()","summary":"Returns a Iterable view of the values contained in this map.","returns":{"type":"Iterable<V>"}}
{"symbol":"org.graalvm.collections.EconomicMapWrap.getKeys()","href":"org/graalvm/collections/EconomicMapWrap.html#getKeys()","name":"getKeys","kind":"method","signature":"public Iterable<K> getKeys()","summary":"Returns a Iterable view of the keys contained in this map.","returns":{"type":"Iterable<K>"}}
{"symbol":"org.graalvm.collections.EconomicMapWrap.isEmpty()","href":"org/graalvm/collections/EconomicMapWrap.html#isEmpty()","name":"isEmpty","kind":"method","signature":"public boolean isEmpty()","summary":"Returns true if this map contains no key-value mappings.","returns":{"type":"boolean"}}
{"symbol":"org.graalvm.collections.EconomicMapWrap.getEntries()","href":"org/graalvm/collections/EconomicMapWrap.html#getEntries()","name":"getEntries","kind":"method","signature":"public MapCursor<K, V> getEntries()","summary":"Returns a MapCursor view of the mappings contained in this map.","returns":{"type":"MapCursor<K, V>"}}
{"symbol":"org.graalvm.collections.EconomicMapWrap.replaceAll(BiFunction)","href":"org/graalvm/collections/EconomicMapWrap.html#replaceAll(java.util.function.BiFunction)","name":"replaceAll","kind":"method","signature":"public void replaceAll(BiFunction<? super K, ? super V, ? extends V> function)","summary":"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.","details":"Exceptions thrown by the function are relayed to the caller.","params":[{"name":"function","type":"BiFunction<? super K, ? super V, ? extends V>"}]}
{"symbol":"org.graalvm.collections.EconomicMapWrap.computeIfAbsent(K, Function)","href":"org/graalvm/collections/EconomicMapWrap.html#computeIfAbsent(K,java.util.function.Function)","name":"computeIfAbsent","kind":"method","signature":"public V computeIfAbsent(K key, Function<? super K, ? extends V> mappingFunction)","summary":"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.","details":"A null result does not add or replace a mapping. The mapping function must not modify this map, or affect key hash code or equivalence during computation. Implementations are not required to detect such changes.","params":[{"name":"key","type":"K","doc":"non-null key with which the specified value is to be associated"},{"name":"mappingFunction","type":"Function<? super K, ? extends V>","doc":"the mapping function to compute a value"}],"returns":{"type":"V","doc":"the current (existing or computed) value associated with the specified key, or null if the computed value is null"}}
{"symbol":"org.graalvm.collections.EconomicMapWrap.toString()","href":"org/graalvm/collections/EconomicMapWrap.html#toString()","name":"toString","kind":"method","signature":"public String toString()","returns":{"type":"String"}}
{"symbol":"org.graalvm.collections.EconomicSet","href":"org/graalvm/collections/EconomicSet.html","name":"EconomicSet","kind":"interface","signature":"public interface EconomicSet<E> extends UnmodifiableEconomicSet<E>","summary":"Memory efficient set data structure.","details":"It does not support adding, looking up or removing a null element."}
{"symbol":"org.graalvm.collections.EconomicSet.add(E)","href":"org/graalvm/collections/EconomicSet.html#add(E)","name":"add","kind":"method","signature":"boolean add(E element)","summary":"Adds non-null element to this set if it is not already present.","params":[{"name":"element","type":"E"}],"returns":{"type":"boolean","doc":"true if this set did not already contain element"},"throws":[{"type":"UnsupportedOperationException","doc":"if element == null"}]}
{"symbol":"org.graalvm.collections.EconomicSet.remove(E)","href":"org/graalvm/collections/EconomicSet.html#remove(E)","name":"remove","kind":"method","signature":"void remove(E element)","summary":"Removes non-null element from this set if it is present.","details":"This set will not contain element once the call returns.","params":[{"name":"element","type":"E"}],"throws":[{"type":"UnsupportedOperationException","doc":"if element == null"}]}
{"symbol":"org.graalvm.collections.EconomicSet.clear()","href":"org/graalvm/collections/EconomicSet.html#clear()","name":"clear","kind":"method","signature":"void clear()","summary":"Removes all the elements from this set.","details":"The set will be empty after this call returns."}
{"symbol":"org.graalvm.collections.EconomicSet.addAll(EconomicSet)","href":"org/graalvm/collections/EconomicSet.html#addAll(org.graalvm.collections.EconomicSet)","name":"addAll","kind":"method","signature":"default void addAll(EconomicSet<? extends E> other)","summary":"Adds all the elements in other to this set if they're not already present.","params":[{"name":"other","type":"EconomicSet<? extends E>"}]}
{"symbol":"org.graalvm.collections.EconomicSet.addAll(Iterable)","href":"org/graalvm/collections/EconomicSet.html#addAll(java.lang.Iterable)","name":"addAll","kind":"method","signature":"default void addAll(Iterable<? extends E> values)","summary":"Adds all the elements in values to this set if they're not already present.","params":[{"name":"values","type":"Iterable<? extends E>"}]}
{"symbol":"org.graalvm.collections.EconomicSet.addAll(Iterator)","href":"org/graalvm/collections/EconomicSet.html#addAll(java.util.Iterator)","name":"addAll","kind":"method","signature":"default void addAll(Iterator<? extends E> iterator)","summary":"Adds all the elements enumerated by iterator to this set if they're not already present.","params":[{"name":"iterator","type":"Iterator<? extends E>"}]}
{"symbol":"org.graalvm.collections.EconomicSet.removeAll(EconomicSet)","href":"org/graalvm/collections/EconomicSet.html#removeAll(org.graalvm.collections.EconomicSet)","name":"removeAll","kind":"method","signature":"default void removeAll(EconomicSet<E> other)","summary":"Removes from this set all of its elements that are contained in other.","params":[{"name":"other","type":"EconomicSet<E>"}]}
{"symbol":"org.graalvm.collections.EconomicSet.removeAll(Iterable)","href":"org/graalvm/collections/EconomicSet.html#removeAll(java.lang.Iterable)","name":"removeAll","kind":"method","signature":"default void removeAll(Iterable<E> values)","summary":"Removes from this set all of its elements that are contained in values.","params":[{"name":"values","type":"Iterable<E>"}]}
{"symbol":"org.graalvm.collections.EconomicSet.removeAll(Iterator)","href":"org/graalvm/collections/EconomicSet.html#removeAll(java.util.Iterator)","name":"removeAll","kind":"method","signature":"default void removeAll(Iterator<E> iterator)","summary":"Removes from this set all of its elements that are enumerated by iterator.","params":[{"name":"iterator","type":"Iterator<E>"}]}
{"symbol":"org.graalvm.collections.EconomicSet.retainAll(EconomicSet)","href":"org/graalvm/collections/EconomicSet.html#retainAll(org.graalvm.collections.EconomicSet)","name":"retainAll","kind":"method","signature":"default void retainAll(EconomicSet<E> other)","summary":"Removes from this set all of its elements that are not contained in other.","params":[{"name":"other","type":"EconomicSet<E>"}]}
{"symbol":"org.graalvm.collections.EconomicSet.create()","href":"org/graalvm/collections/EconomicSet.html#create()","name":"create","kind":"method","signature":"static <E> EconomicSet<E> create()","summary":"Creates a new set guaranteeing insertion order when iterating over its elements with the default Equivalence.DEFAULT comparison strategy.","returns":{"type":"EconomicSet<E>"}}
{"symbol":"org.graalvm.collections.EconomicSet.create(Equivalence)","href":"org/graalvm/collections/EconomicSet.html#create(org.graalvm.collections.Equivalence)","name":"create","kind":"method","signature":"static <E> EconomicSet<E> create(Equivalence strategy)","summary":"Creates a new set guaranteeing insertion order when iterating over its elements.","params":[{"name":"strategy","type":"Equivalence"}],"returns":{"type":"EconomicSet<E>"}}
{"symbol":"org.graalvm.collections.EconomicSet.create(int)","href":"org/graalvm/collections/EconomicSet.html#create(int)","name":"create","kind":"method","signature":"static <E> EconomicSet<E> create(int initialCapacity)","summary":"Creates a new set guaranteeing insertion order when iterating over its elements with the default Equivalence.DEFAULT comparison strategy.","params":[{"name":"initialCapacity","type":"int"}],"returns":{"type":"EconomicSet<E>"}}
{"symbol":"org.graalvm.collections.EconomicSet.create(UnmodifiableEconomicSet)","href":"org/graalvm/collections/EconomicSet.html#create(org.graalvm.collections.UnmodifiableEconomicSet)","name":"create","kind":"method","signature":"static <E> EconomicSet<E> create(UnmodifiableEconomicSet<E> c)","summary":"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.","params":[{"name":"c","type":"UnmodifiableEconomicSet<E>"}],"returns":{"type":"EconomicSet<E>"}}
{"symbol":"org.graalvm.collections.EconomicSet.create(Equivalence, int)","href":"org/graalvm/collections/EconomicSet.html#create(org.graalvm.collections.Equivalence,int)","name":"create","kind":"method","signature":"static <E> EconomicSet<E> create(Equivalence strategy, int initialCapacity)","summary":"Creates a new set guaranteeing insertion order when iterating over its elements and initializes with the given capacity.","params":[{"name":"strategy","type":"Equivalence"},{"name":"initialCapacity","type":"int"}],"returns":{"type":"EconomicSet<E>"}}
{"symbol":"org.graalvm.collections.EconomicSet.create(Equivalence, UnmodifiableEconomicSet)","href":"org/graalvm/collections/EconomicSet.html#create(org.graalvm.collections.Equivalence,org.graalvm.collections.UnmodifiableEconomicSet)","name":"create","kind":"method","signature":"static <E> EconomicSet<E> create(Equivalence strategy, UnmodifiableEconomicSet<E> c)","summary":"Creates a new set guaranteeing insertion order when iterating over its elements and inserts all elements of the specified collection.","params":[{"name":"strategy","type":"Equivalence"},{"name":"c","type":"UnmodifiableEconomicSet<E>"}],"returns":{"type":"EconomicSet<E>"}}
{"symbol":"org.graalvm.collections.EconomicSet.create(Iterable)","href":"org/graalvm/collections/EconomicSet.html#create(java.lang.Iterable)","name":"create","kind":"method","signature":"static <E> EconomicSet<E> create(Iterable<E> c)","summary":"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.","params":[{"name":"c","type":"Iterable<E>"}],"returns":{"type":"EconomicSet<E>"}}
{"symbol":"org.graalvm.collections.EconomicSet.emptySet()","href":"org/graalvm/collections/EconomicSet.html#emptySet()","name":"emptySet","kind":"method","signature":"static <E> EconomicSet<E> emptySet()","summary":"Return an empty, unmodifiable EconomicSet.","returns":{"type":"EconomicSet<E>"}}
{"symbol":"org.graalvm.collections.EconomicSet.of(E)","href":"org/graalvm/collections/EconomicSet.html#of(E)","name":"of","kind":"method","signature":"static <E> EconomicSet<E> of(E elem)","params":[{"name":"elem","type":"E"}],"returns":{"type":"EconomicSet<E>"}}
{"symbol":"org.graalvm.collections.Equivalence","href":"org/graalvm/collections/Equivalence.html","name":"Equivalence","kind":"class","signature":"public abstract class Equivalence","summary":"Strategy for comparing two objects.","details":"Default predefined strategies are DEFAULT, IDENTITY, and IDENTITY_WITH_SYSTEM_HASHCODE."}
{"symbol":"org.graalvm.collections.Equivalence.DEFAULT","href":"org/graalvm/collections/Equivalence.html#DEFAULT","name":"DEFAULT","kind":"field","signature":"public static final Equivalence DEFAULT","summary":"Default equivalence calling equals(Object) to check equality and hashCode() for obtaining hash values.","details":"Do not change the logic of this class as it may be inlined in other places."}
{"symbol":"org.graalvm.collections.Equivalence.IDENTITY","href":"org/graalvm/collections/Equivalence.html#IDENTITY","name":"IDENTITY","kind":"field","signature":"public static final Equivalence IDENTITY","summary":"Identity equivalence using == to check equality and hashCode() for obtaining hash values.","details":"Do not change the logic of this class as it may be inlined in other places."}
{"symbol":"org.graalvm.collections.Equivalence.IDENTITY_WITH_SYSTEM_HASHCODE","href":"org/graalvm/collections/Equivalence.html#IDENTITY_WITH_SYSTEM_HASHCODE","name":"IDENTITY_WITH_SYSTEM_HASHCODE","kind":"field","signature":"public static final Equivalence IDENTITY_WITH_SYSTEM_HASHCODE","summary":"Identity equivalence using == to check equality and System.identityHashCode(Object) for obtaining hash values.","details":"Do not change the logic of this class as it may be inlined in other places."}
{"symbol":"org.graalvm.collections.Equivalence()","href":"org/graalvm/collections/Equivalence.html#%3Cinit%3E()","name":"Equivalence","kind":"constructor","signature":"protected Equivalence()","summary":"Subclass for creating custom equivalence definitions."}
{"symbol":"org.graalvm.collections.Equivalence.equals(Object, Object)","href":"org/graalvm/collections/Equivalence.html#equals(java.lang.Object,java.lang.Object)","name":"equals","kind":"method","signature":"public abstract boolean equals(Object a, Object b)","summary":"Returns true if the non-null arguments are equal to each other and false otherwise.","params":[{"name":"a","type":"Object"},{"name":"b","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"org.graalvm.collections.Equivalence.hashCode(Object)","href":"org/graalvm/collections/Equivalence.html#hashCode(java.lang.Object)","name":"hashCode","kind":"method","signature":"public abstract int hashCode(Object o)","summary":"Returns the hash code of a non-null argument o.","params":[{"name":"o","type":"Object"}],"returns":{"type":"int"}}
{"symbol":"org.graalvm.collections.LockFreePool","href":"org/graalvm/collections/LockFreePool.html","name":"LockFreePool","kind":"class","signature":"public class LockFreePool<T>","summary":"Concurrent lock-free pool data structure.","detailsOmitted":true}
{"symbol":"org.graalvm.collections.LockFreePool()","href":"org/graalvm/collections/LockFreePool.html#%3Cinit%3E()","name":"LockFreePool","kind":"constructor","signature":"public LockFreePool()"}
{"symbol":"org.graalvm.collections.LockFreePool.get()","href":"org/graalvm/collections/LockFreePool.html#get()","name":"get","kind":"method","signature":"public T get()","summary":"Returns a previously added element.","details":"This method returns a previously added element only once to some caller. If the element was added multiple times, calling this method will return that element as many times before returning null. This method does not do any object allocations.","returns":{"type":"T","doc":"A previously added element, or null if there are no previously added elements that have not been already returned."}}
{"symbol":"org.graalvm.collections.LockFreePool.add(T)","href":"org/graalvm/collections/LockFreePool.html#add(T)","name":"add","kind":"method","signature":"public void add(T element)","summary":"Adds an element to this pool.","details":"An element can be added multiple times to the pool, but in this case may be returned as many times by LockFreePool.get(). This method internally allocates objects on the heap.","params":[{"name":"element","type":"T","doc":"An element to add to the pool."}]}
{"symbol":"org.graalvm.collections.LockFreePrefixTree","href":"org/graalvm/collections/LockFreePrefixTree.html","name":"LockFreePrefixTree","kind":"class","signature":"public class LockFreePrefixTree","summary":"Thread-safe and lock-free prefix-tree implementation in which keys are sequences of 64-bit values, and the values are 64-bit values.","detailsOmitted":true}
{"symbol":"org.graalvm.collections.LockFreePrefixTree(LockFreePrefixTree.Allocator)","href":"org/graalvm/collections/LockFreePrefixTree.html#%3Cinit%3E(org.graalvm.collections.LockFreePrefixTree.Allocator)","name":"LockFreePrefixTree","kind":"constructor","signature":"public LockFreePrefixTree(LockFreePrefixTree.Allocator allocator)","summary":"Create new LockFreePrefixTree with root being a Node with key 0.","params":[{"name":"allocator","type":"LockFreePrefixTree.Allocator"}]}
{"symbol":"org.graalvm.collections.LockFreePrefixTree.allocator()","href":"org/graalvm/collections/LockFreePrefixTree.html#allocator()","name":"allocator","kind":"method","signature":"public LockFreePrefixTree.Allocator allocator()","returns":{"type":"LockFreePrefixTree.Allocator"}}
{"symbol":"org.graalvm.collections.LockFreePrefixTree.root()","href":"org/graalvm/collections/LockFreePrefixTree.html#root()","name":"root","kind":"method","signature":"public LockFreePrefixTree.Node root()","summary":"The root node of the tree.","returns":{"type":"LockFreePrefixTree.Node","doc":"the root of the tree"}}
{"symbol":"org.graalvm.collections.LockFreePrefixTree.reset()","href":"org/graalvm/collections/LockFreePrefixTree.html#reset()","name":"reset","kind":"method","signature":"public void reset()","summary":"Resets the tree."}
{"symbol":"org.graalvm.collections.LockFreePrefixTree.topDown(C, BiFunction, BiConsumer)","href":"org/graalvm/collections/LockFreePrefixTree.html#topDown(C,java.util.function.BiFunction,java.util.function.BiConsumer)","name":"topDown","kind":"method","signature":"public <C> void topDown(C initialContext, BiFunction<C, Long, C> createContext, BiConsumer<C, Long> consumeValue)","summary":"Traverse the tree top-down while maintaining a context.","details":"The context is a generic data structure corresponding to the depth of the traversal, i.e. given the initialContext and a createContext function, a new context is created for each visited child using the createContext function, starting with initialContext.","params":[{"name":"initialContext","type":"C","doc":"The context for the root of the tree"},{"name":"createContext","type":"BiFunction<C, Long, C>","doc":"A function defining how the context for children is created"},{"name":"consumeValue","type":"BiConsumer<C, Long>","doc":"A function that consumes the nodes value"}]}
{"symbol":"org.graalvm.collections.LockFreePrefixTree.Allocator","href":"org/graalvm/collections/LockFreePrefixTree.Allocator.html","name":"LockFreePrefixTree.Allocator","kind":"class","signature":"public abstract static class LockFreePrefixTree.Allocator","summary":"Policy for allocating objects of the lock-free prefix tree."}
{"symbol":"org.graalvm.collections.LockFreePrefixTree.Allocator()","href":"org/graalvm/collections/LockFreePrefixTree.Allocator.html#%3Cinit%3E()","name":"Allocator","kind":"constructor","signature":"public Allocator()","summary":"Creates a new Allocator instance."}
{"symbol":"org.graalvm.collections.LockFreePrefixTree.Allocator.newNode(long)","href":"org/graalvm/collections/LockFreePrefixTree.Allocator.html#newNode(long)","name":"newNode","kind":"method","signature":"public abstract LockFreePrefixTree.Node newNode(long key)","summary":"Allocates a new Node object.","params":[{"name":"key","type":"long","doc":"The key to use for the Node object."}],"returns":{"type":"LockFreePrefixTree.Node","doc":"A fresh Node object, possibly preallocated."},"throws":[{"type":"LockFreePrefixTree.FailedAllocationException","doc":"If the allocation request cannot be fulfilled."}]}
{"symbol":"org.graalvm.collections.LockFreePrefixTree.Allocator.newLinearChildren(int)","href":"org/graalvm/collections/LockFreePrefixTree.Allocator.html#newLinearChildren(int)","name":"newLinearChildren","kind":"method","signature":"public abstract LockFreePrefixTree.Node.LinearChildren newLinearChildren(int length)","summary":"Allocates a new reference array of child nodes stored linearly.","params":[{"name":"length","type":"int","doc":"The length of the allocated array."}],"returns":{"type":"LockFreePrefixTree.Node.LinearChildren","doc":"A fresh array, possibly preallocated."},"throws":[{"type":"LockFreePrefixTree.FailedAllocationException","doc":"If the allocation request cannot be fulfilled."}]}
{"symbol":"org.graalvm.collections.LockFreePrefixTree.Allocator.newHashChildren(int)","href":"org/graalvm/collections/LockFreePrefixTree.Allocator.html#newHashChildren(int)","name":"newHashChildren","kind":"method","signature":"public abstract LockFreePrefixTree.Node.HashChildren newHashChildren(int length)","summary":"Allocates a new reference array of child nodes stored as a hash table.","params":[{"name":"length","type":"int","doc":"The length of the allocated array."}],"returns":{"type":"LockFreePrefixTree.Node.HashChildren","doc":"A fresh array, possibly preallocated."},"throws":[{"type":"LockFreePrefixTree.FailedAllocationException","doc":"If the allocation request cannot be fulfilled."}]}
{"symbol":"org.graalvm.collections.LockFreePrefixTree.Allocator.shutdown()","href":"org/graalvm/collections/LockFreePrefixTree.Allocator.html#shutdown()","name":"shutdown","kind":"method","signature":"public abstract void shutdown()","summary":"Releases the allocator's resources.","details":"Allocator should not be used after calling this method."}
{"symbol":"org.graalvm.collections.LockFreePrefixTree.HeapAllocator","href":"org/graalvm/collections/LockFreePrefixTree.HeapAllocator.html","name":"LockFreePrefixTree.HeapAllocator","kind":"class","signature":"public static class LockFreePrefixTree.HeapAllocator extends LockFreePrefixTree.Allocator","summary":"Allocator that allocates objects directly on the managed heap."}
{"symbol":"org.graalvm.collections.LockFreePrefixTree.HeapAllocator()","href":"org/graalvm/collections/LockFreePrefixTree.HeapAllocator.html#%3Cinit%3E()","name":"HeapAllocator","kind":"constructor","signature":"public HeapAllocator()","summary":"Creates a new HeapAllocator instance."}
{"symbol":"org.graalvm.collections.LockFreePrefixTree.HeapAllocator.newNode(long)","href":"org/graalvm/collections/LockFreePrefixTree.HeapAllocator.html#newNode(long)","name":"newNode","kind":"method","signature":"public LockFreePrefixTree.Node newNode(long key)","summary":"Allocates a new Node object.","params":[{"name":"key","type":"long","doc":"The key to use for the Node object."}],"returns":{"type":"LockFreePrefixTree.Node","doc":"A fresh Node object, possibly preallocated."}}
{"symbol":"org.graalvm.collections.LockFreePrefixTree.HeapAllocator.newLinearChildren(int)","href":"org/graalvm/collections/LockFreePrefixTree.HeapAllocator.html#newLinearChildren(int)","name":"newLinearChildren","kind":"method","signature":"public LockFreePrefixTree.Node.LinearChildren newLinearChildren(int length)","summary":"Allocates a new reference array of child nodes stored linearly.","params":[{"name":"length","type":"int","doc":"The length of the allocated array."}],"returns":{"type":"LockFreePrefixTree.Node.LinearChildren","doc":"A fresh array, possibly preallocated."}}
{"symbol":"org.graalvm.collections.LockFreePrefixTree.HeapAllocator.newHashChildren(int)","href":"org/graalvm/collections/LockFreePrefixTree.HeapAllocator.html#newHashChildren(int)","name":"newHashChildren","kind":"method","signature":"public LockFreePrefixTree.Node.HashChildren newHashChildren(int length)","summary":"Allocates a new reference array of child nodes stored as a hash table.","params":[{"name":"length","type":"int","doc":"The length of the allocated array."}],"returns":{"type":"LockFreePrefixTree.Node.HashChildren","doc":"A fresh array, possibly preallocated."}}
{"symbol":"org.graalvm.collections.LockFreePrefixTree.HeapAllocator.shutdown()","href":"org/graalvm/collections/LockFreePrefixTree.HeapAllocator.html#shutdown()","name":"shutdown","kind":"method","signature":"public void shutdown()","summary":"Releases the allocator's resources.","details":"Allocator should not be used after calling this method."}
{"symbol":"org.graalvm.collections.LockFreePrefixTree.Node","href":"org/graalvm/collections/LockFreePrefixTree.Node.html","name":"LockFreePrefixTree.Node","kind":"class","signature":"public static class LockFreePrefixTree.Node extends AtomicLong"}
{"symbol":"org.graalvm.collections.LockFreePrefixTree.Node.value()","href":"org/graalvm/collections/LockFreePrefixTree.Node.html#value()","name":"value","kind":"method","signature":"public long value()","returns":{"type":"long","doc":"The value of the Node"}}
{"symbol":"org.graalvm.collections.LockFreePrefixTree.Node.setValue(long)","href":"org/graalvm/collections/LockFreePrefixTree.Node.html#setValue(long)","name":"setValue","kind":"method","signature":"public void setValue(long value)","summary":"Set the value for the Node.","params":[{"name":"value","type":"long","doc":"the new value."}]}
{"symbol":"org.graalvm.collections.LockFreePrefixTree.Node.incValue()","href":"org/graalvm/collections/LockFreePrefixTree.Node.html#incValue()","name":"incValue","kind":"method","signature":"public long incValue()","summary":"Increment value.","returns":{"type":"long","doc":"newly incremented value of the Node."}}
{"symbol":"org.graalvm.collections.LockFreePrefixTree.Node.bitwiseOrValue(long)","href":"org/graalvm/collections/LockFreePrefixTree.Node.html#bitwiseOrValue(long)","name":"bitwiseOrValue","kind":"method","signature":"public long bitwiseOrValue(long pattern)","summary":"Atomically does the bitwise-or on the current value.","params":[{"name":"pattern","type":"long","doc":"a bit pattern to do bitwise-or with"}],"returns":{"type":"long","doc":"the value immediately after the bitwise-or operation"}}
{"symbol":"org.graalvm.collections.LockFreePrefixTree.Node.at(LockFreePrefixTree.Allocator, long)","href":"org/graalvm/collections/LockFreePrefixTree.Node.html#at(org.graalvm.collections.LockFreePrefixTree.Allocator,long)","name":"at","kind":"method","signature":"public LockFreePrefixTree.Node at(LockFreePrefixTree.Allocator allocator, long childKey)","summary":"Get existing (or create if missing) child with the given key.","details":"May return null if the operation cannot complete, for example, due to inability to allocate nodes.","params":[{"name":"allocator","type":"LockFreePrefixTree.Allocator"},{"name":"childKey","type":"long","doc":"the key of the child."}],"returns":{"type":"LockFreePrefixTree.Node","doc":"The child with the given childKey, or null if cannot complete."}}
{"symbol":"org.graalvm.collections.LockFreePrefixTree.Node.toString()","href":"org/graalvm/collections/LockFreePrefixTree.Node.html#toString()","name":"toString","kind":"method","signature":"public String toString()","returns":{"type":"String"}}
{"symbol":"org.graalvm.collections.LockFreePrefixTree.ObjectPoolingAllocator","href":"org/graalvm/collections/LockFreePrefixTree.ObjectPoolingAllocator.html","name":"LockFreePrefixTree.ObjectPoolingAllocator","kind":"class","signature":"public static class LockFreePrefixTree.ObjectPoolingAllocator extends LockFreePrefixTree.Allocator","summary":"Allocator that internally maintains several pools of preallocated objects, and allocates objects from those pools.","detailsOmitted":true}
{"symbol":"org.graalvm.collections.LockFreePrefixTree.ObjectPoolingAllocator()","href":"org/graalvm/collections/LockFreePrefixTree.ObjectPoolingAllocator.html#%3Cinit%3E()","name":"ObjectPoolingAllocator","kind":"constructor","signature":"public ObjectPoolingAllocator()"}
{"symbol":"org.graalvm.collections.LockFreePrefixTree.ObjectPoolingAllocator(int)","href":"org/graalvm/collections/LockFreePrefixTree.ObjectPoolingAllocator.html#%3Cinit%3E(int)","name":"ObjectPoolingAllocator","kind":"constructor","signature":"public ObjectPoolingAllocator(int housekeepingPeriodMillis)","params":[{"name":"housekeepingPeriodMillis","type":"int"}]}
{"symbol":"org.graalvm.collections.LockFreePrefixTree.ObjectPoolingAllocator.newNode(long)","href":"org/graalvm/collections/LockFreePrefixTree.ObjectPoolingAllocator.html#newNode(long)","name":"newNode","kind":"method","signature":"public LockFreePrefixTree.Node newNode(long key)","summary":"Allocates a new Node object.","params":[{"name":"key","type":"long","doc":"The key to use for the Node object."}],"returns":{"type":"LockFreePrefixTree.Node","doc":"A fresh Node object, possibly preallocated."}}
{"symbol":"org.graalvm.collections.LockFreePrefixTree.ObjectPoolingAllocator.newLinearChildren(int)","href":"org/graalvm/collections/LockFreePrefixTree.ObjectPoolingAllocator.html#newLinearChildren(int)","name":"newLinearChildren","kind":"method","signature":"public LockFreePrefixTree.Node.LinearChildren newLinearChildren(int length)","summary":"Allocates a new reference array of child nodes stored linearly.","params":[{"name":"length","type":"int","doc":"The length of the allocated array."}],"returns":{"type":"LockFreePrefixTree.Node.LinearChildren","doc":"A fresh array, possibly preallocated."}}
{"symbol":"org.graalvm.collections.LockFreePrefixTree.ObjectPoolingAllocator.newHashChildren(int)","href":"org/graalvm/collections/LockFreePrefixTree.ObjectPoolingAllocator.html#newHashChildren(int)","name":"newHashChildren","kind":"method","signature":"public LockFreePrefixTree.Node.HashChildren newHashChildren(int length)","summary":"Allocates a new reference array of child nodes stored as a hash table.","params":[{"name":"length","type":"int","doc":"The length of the allocated array."}],"returns":{"type":"LockFreePrefixTree.Node.HashChildren","doc":"A fresh array, possibly preallocated."}}
{"symbol":"org.graalvm.collections.LockFreePrefixTree.ObjectPoolingAllocator.shutdown()","href":"org/graalvm/collections/LockFreePrefixTree.ObjectPoolingAllocator.html#shutdown()","name":"shutdown","kind":"method","signature":"public void shutdown()","summary":"Releases the allocator's resources.","details":"Allocator should not be used after calling this method."}
{"symbol":"org.graalvm.collections.LockFreePrefixTree.ObjectPoolingAllocator.status()","href":"org/graalvm/collections/LockFreePrefixTree.ObjectPoolingAllocator.html#status()","name":"status","kind":"method","signature":"public String status()","returns":{"type":"String"}}
{"symbol":"org.graalvm.collections.MapCursor","href":"org/graalvm/collections/MapCursor.html","name":"MapCursor","kind":"interface","signature":"public interface MapCursor<K, V> extends UnmodifiableMapCursor<K, V>","summary":"Cursor to iterate over a mutable map."}
{"symbol":"org.graalvm.collections.MapCursor.remove()","href":"org/graalvm/collections/MapCursor.html#remove()","name":"remove","kind":"method","signature":"void remove()","summary":"Remove the current entry from the map.","details":"May only be called once. After calling remove(), it is no longer valid to call getKey() or getValue() on the current entry."}
{"symbol":"org.graalvm.collections.MapCursor.setValue(V)","href":"org/graalvm/collections/MapCursor.html#setValue(V)","name":"setValue","kind":"method","signature":"default V setValue(V newValue)","summary":"Set the value of the current entry.","params":[{"name":"newValue","type":"V","doc":"new value to be associated with the current key."}],"returns":{"type":"V","doc":"previous value associated with the current key."}}
{"symbol":"org.graalvm.collections.Pair","href":"org/graalvm/collections/Pair.html","name":"Pair","kind":"class","signature":"public final class Pair<L, R>","summary":"Utility class representing a pair of values."}
{"symbol":"org.graalvm.collections.Pair.empty()","href":"org/graalvm/collections/Pair.html#empty()","name":"empty","kind":"method","signature":"public static <L, R> Pair<L, R> empty()","summary":"Returns an empty pair.","returns":{"type":"Pair<L, R>"}}
{"symbol":"org.graalvm.collections.Pair.createLeft(L)","href":"org/graalvm/collections/Pair.html#createLeft(L)","name":"createLeft","kind":"method","signature":"public static <L, R> Pair<L, R> createLeft(L left)","summary":"Constructs a pair with its left value being left, or returns an empty pair if left is null.","params":[{"name":"left","type":"L"}],"returns":{"type":"Pair<L, R>","doc":"the constructed pair or an empty pair if left is null."}}
{"symbol":"org.graalvm.collections.Pair.createRight(R)","href":"org/graalvm/collections/Pair.html#createRight(R)","name":"createRight","kind":"method","signature":"public static <L, R> Pair<L, R> createRight(R right)","summary":"Constructs a pair with its right value being right, or returns an empty pair if right is null.","params":[{"name":"right","type":"R"}],"returns":{"type":"Pair<L, R>","doc":"the constructed pair or an empty pair if right is null."}}
{"symbol":"org.graalvm.collections.Pair.create(L, R)","href":"org/graalvm/collections/Pair.html#create(L,R)","name":"create","kind":"method","signature":"public static <L, R> Pair<L, R> create(L left, R right)","summary":"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.","params":[{"name":"left","type":"L"},{"name":"right","type":"R"}],"returns":{"type":"Pair<L, R>","doc":"the constructed pair or an empty pair if both inputs are null."}}
{"symbol":"org.graalvm.collections.Pair.getLeft()","href":"org/graalvm/collections/Pair.html#getLeft()","name":"getLeft","kind":"method","signature":"public L getLeft()","summary":"Returns the left value of this pair.","returns":{"type":"L"}}
{"symbol":"org.graalvm.collections.Pair.getRight()","href":"org/graalvm/collections/Pair.html#getRight()","name":"getRight","kind":"method","signature":"public R getRight()","summary":"Returns the right value of this pair.","returns":{"type":"R"}}
{"symbol":"org.graalvm.collections.Pair.hashCode()","href":"org/graalvm/collections/Pair.html#hashCode()","name":"hashCode","kind":"method","signature":"public int hashCode()","returns":{"type":"int"}}
{"symbol":"org.graalvm.collections.Pair.equals(Object)","href":"org/graalvm/collections/Pair.html#equals(java.lang.Object)","name":"equals","kind":"method","signature":"public boolean equals(Object obj)","params":[{"name":"obj","type":"Object"}],"returns":{"type":"boolean"}}
{"symbol":"org.graalvm.collections.Pair.toString()","href":"org/graalvm/collections/Pair.html#toString()","name":"toString","kind":"method","signature":"public String toString()","returns":{"type":"String"}}
{"symbol":"org.graalvm.collections.SeqLockPrefixTree","href":"org/graalvm/collections/SeqLockPrefixTree.html","name":"SeqLockPrefixTree","kind":"class","signature":"public class SeqLockPrefixTree","summary":"Thread-safe prefix-tree implementation in which keys are sequences of 64-bit values, and the values are 64-bit values.","detailsOmitted":true}
{"symbol":"org.graalvm.collections.SeqLockPrefixTree()","href":"org/graalvm/collections/SeqLockPrefixTree.html#%3Cinit%3E()","name":"SeqLockPrefixTree","kind":"constructor","signature":"public SeqLockPrefixTree()","summary":"Create new SeqLockPrefixTree with root being a Node with key 0."}
{"symbol":"org.graalvm.collections.SeqLockPrefixTree.root()","href":"org/graalvm/collections/SeqLockPrefixTree.html#root()","name":"root","kind":"method","signature":"public SeqLockPrefixTree.Node root()","summary":"The root node of the tree.","returns":{"type":"SeqLockPrefixTree.Node","doc":"the root of the tree"}}
{"symbol":"org.graalvm.collections.SeqLockPrefixTree.Node","href":"org/graalvm/collections/SeqLockPrefixTree.Node.html","name":"SeqLockPrefixTree.Node","kind":"class","signature":"public static final class SeqLockPrefixTree.Node extends AtomicLong"}
{"symbol":"org.graalvm.collections.SeqLockPrefixTree.Node.value()","href":"org/graalvm/collections/SeqLockPrefixTree.Node.html#value()","name":"value","kind":"method","signature":"public long value()","returns":{"type":"long","doc":"The value of the LockFreePrefixTree.Node"}}
{"symbol":"org.graalvm.collections.SeqLockPrefixTree.Node.incValue()","href":"org/graalvm/collections/SeqLockPrefixTree.Node.html#incValue()","name":"incValue","kind":"method","signature":"public long incValue()","summary":"Increment value.","returns":{"type":"long","doc":"newly incremented value of the LockFreePrefixTree.Node."}}
{"symbol":"org.graalvm.collections.SeqLockPrefixTree.Node.setValue(long)","href":"org/graalvm/collections/SeqLockPrefixTree.Node.html#setValue(long)","name":"setValue","kind":"method","signature":"public void setValue(long value)","summary":"Set the value for the LockFreePrefixTree.Node.","params":[{"name":"value","type":"long","doc":"the new value."}]}
{"symbol":"org.graalvm.collections.SeqLockPrefixTree.Node.at(long)","href":"org/graalvm/collections/SeqLockPrefixTree.Node.html#at(long)","name":"at","kind":"method","signature":"public SeqLockPrefixTree.Node at(long key)","summary":"Get existing (or create if missing) child with the given key.","params":[{"name":"key","type":"long","doc":"the key of the child."}],"returns":{"type":"SeqLockPrefixTree.Node","doc":"The child with the given childKey."}}
{"symbol":"org.graalvm.collections.SeqLockPrefixTree.Node.seqlockValue()","href":"org/graalvm/collections/SeqLockPrefixTree.Node.html#seqlockValue()","name":"seqlockValue","kind":"method","signature":"public long seqlockValue()","returns":{"type":"long","doc":"the value of the seqlock."}}
{"symbol":"org.graalvm.collections.SeqLockPrefixTree.Node.topDown(C, BiFunction, BiConsumer)","href":"org/graalvm/collections/SeqLockPrefixTree.Node.html#topDown(C,java.util.function.BiFunction,java.util.function.BiConsumer)","name":"topDown","kind":"method","signature":"public <C> void topDown(C currentContext, BiFunction<C, Long, C> createContext, BiConsumer<C, Long> consumeValue)","summary":"Traverse the tree top-down while maintaining a context.","details":"The context is a generic data structure corresponding to the depth of the traversal, i.e. given the currentContext and a createContext function, a new context is created for each visited child using the createContext function, starting with initialContext.","params":[{"name":"currentContext","type":"C","doc":"The context for the root of the tree"},{"name":"createContext","type":"BiFunction<C, Long, C>","doc":"A function defining how the context for children is created"},{"name":"consumeValue","type":"BiConsumer<C, Long>","doc":"A function that consumes the nodes value"}]}
{"symbol":"org.graalvm.collections.SeqLockPrefixTree.Node.toString()","href":"org/graalvm/collections/SeqLockPrefixTree.Node.html#toString()","name":"toString","kind":"method","signature":"public String toString()","returns":{"type":"String"}}
{"symbol":"org.graalvm.collections.UnmodifiableEconomicMap","href":"org/graalvm/collections/UnmodifiableEconomicMap.html","name":"UnmodifiableEconomicMap","kind":"interface","signature":"public interface UnmodifiableEconomicMap<K, V>","summary":"Unmodifiable memory efficient map.","details":"See EconomicMap for the underlying data structure and its properties."}
{"symbol":"org.graalvm.collections.UnmodifiableEconomicMap.get(K)","href":"org/graalvm/collections/UnmodifiableEconomicMap.html#get(K)","name":"get","kind":"method","signature":"V get(K key)","summary":"Returns the value to which key is mapped, or null if this map contains no mapping for key.","details":"The key must not be null.","params":[{"name":"key","type":"K"}],"returns":{"type":"V"},"throws":[{"type":"UnsupportedOperationException","doc":"if key == null"}]}
{"symbol":"org.graalvm.collections.UnmodifiableEconomicMap.get(K, V)","href":"org/graalvm/collections/UnmodifiableEconomicMap.html#get(K,V)","name":"get","kind":"method","signature":"default V get(K key, V defaultValue)","summary":"Returns the value to which key is mapped, or defaultValue if this map contains no mapping for key.","details":"The key must not be null. Maps that support {code null} values, need to overwrite this method to appropriately handle the {code null} case.","params":[{"name":"key","type":"K"},{"name":"defaultValue","type":"V"}],"returns":{"type":"V"},"throws":[{"type":"UnsupportedOperationException","doc":"if key == null"}]}
{"symbol":"org.graalvm.collections.UnmodifiableEconomicMap.containsKey(K)","href":"org/graalvm/collections/UnmodifiableEconomicMap.html#containsKey(K)","name":"containsKey","kind":"method","signature":"boolean containsKey(K key)","summary":"Returns true if this map contains a mapping for key.","details":"The key must not be null.","params":[{"name":"key","type":"K"}],"returns":{"type":"boolean"},"throws":[{"type":"UnsupportedOperationException","doc":"if key == null"}]}
{"symbol":"org.graalvm.collections.UnmodifiableEconomicMap.size()","href":"org/graalvm/collections/UnmodifiableEconomicMap.html#size()","name":"size","kind":"method","signature":"int size()","summary":"Returns the number of key-value mappings in this map.","returns":{"type":"int"}}
{"symbol":"org.graalvm.collections.UnmodifiableEconomicMap.isEmpty()","href":"org/graalvm/collections/UnmodifiableEconomicMap.html#isEmpty()","name":"isEmpty","kind":"method","signature":"boolean isEmpty()","summary":"Returns true if this map contains no key-value mappings.","returns":{"type":"boolean"}}
{"symbol":"org.graalvm.collections.UnmodifiableEconomicMap.getValues()","href":"org/graalvm/collections/UnmodifiableEconomicMap.html#getValues()","name":"getValues","kind":"method","signature":"Iterable<V> getValues()","summary":"Returns a Iterable view of the values contained in this map.","returns":{"type":"Iterable<V>"}}
{"symbol":"org.graalvm.collections.UnmodifiableEconomicMap.getKeys()","href":"org/graalvm/collections/UnmodifiableEconomicMap.html#getKeys()","name":"getKeys","kind":"method","signature":"Iterable<K> getKeys()","summary":"Returns a Iterable view of the keys contained in this map.","returns":{"type":"Iterable<K>"}}
{"symbol":"org.graalvm.collections.UnmodifiableEconomicMap.getEntries()","href":"org/graalvm/collections/UnmodifiableEconomicMap.html#getEntries()","name":"getEntries","kind":"method","signature":"UnmodifiableMapCursor<K, V> getEntries()","summary":"Returns a UnmodifiableMapCursor view of the mappings contained in this map.","returns":{"type":"UnmodifiableMapCursor<K, V>"}}
{"symbol":"org.graalvm.collections.UnmodifiableEconomicMap.getEquivalenceStrategy()","href":"org/graalvm/collections/UnmodifiableEconomicMap.html#getEquivalenceStrategy()","name":"getEquivalenceStrategy","kind":"method","signature":"default Equivalence getEquivalenceStrategy()","summary":"Returns the strategy used to compare keys.","returns":{"type":"Equivalence"}}
{"symbol":"org.graalvm.collections.UnmodifiableEconomicSet","href":"org/graalvm/collections/UnmodifiableEconomicSet.html","name":"UnmodifiableEconomicSet","kind":"interface","signature":"public interface UnmodifiableEconomicSet<E> extends Iterable<E>","summary":"Unmodifiable memory efficient set data structure.","details":"It does not support looking up a null element."}
{"symbol":"org.graalvm.collections.UnmodifiableEconomicSet.contains(E)","href":"org/graalvm/collections/UnmodifiableEconomicSet.html#contains(E)","name":"contains","kind":"method","signature":"boolean contains(E element)","summary":"Returns true if this set contains a mapping for the element.","params":[{"name":"element","type":"E"}],"returns":{"type":"boolean"},"throws":[{"type":"UnsupportedOperationException","doc":"if element == null"}]}
{"symbol":"org.graalvm.collections.UnmodifiableEconomicSet.size()","href":"org/graalvm/collections/UnmodifiableEconomicSet.html#size()","name":"size","kind":"method","signature":"int size()","summary":"Returns the number of elements in this set.","returns":{"type":"int"}}
{"symbol":"org.graalvm.collections.UnmodifiableEconomicSet.isEmpty()","href":"org/graalvm/collections/UnmodifiableEconomicSet.html#isEmpty()","name":"isEmpty","kind":"method","signature":"boolean isEmpty()","summary":"Returns true if this set contains no elements.","returns":{"type":"boolean"}}
{"symbol":"org.graalvm.collections.UnmodifiableEconomicSet.toArray(E[])","href":"org/graalvm/collections/UnmodifiableEconomicSet.html#toArray(E[])","name":"toArray","kind":"method","signature":"default E[] toArray(E[] target)","summary":"Stores all the elements in this set into target.","details":"An UnsupportedOperationException will be thrown if the length of target does not match the size of this set.","params":[{"name":"target","type":"E[]"}],"returns":{"type":"E[]","doc":"an array containing all the elements in this set."},"throws":[{"type":"UnsupportedOperationException","doc":"if the length of target does not equal the size of this set."}]}
{"symbol":"org.graalvm.collections.UnmodifiableEconomicSet.toHashSet()","href":"org/graalvm/collections/UnmodifiableEconomicSet.html#toHashSet()","name":"toHashSet","kind":"method","signature":"default HashSet<E> toHashSet()","returns":{"type":"HashSet<E>"}}
{"symbol":"org.graalvm.collections.UnmodifiableEconomicSet.toList()","href":"org/graalvm/collections/UnmodifiableEconomicSet.html#toList()","name":"toList","kind":"method","signature":"default List<E> toList()","returns":{"type":"List<E>"}}
{"symbol":"org.graalvm.collections.UnmodifiableEconomicSet.containsAll(Iterable)","href":"org/graalvm/collections/UnmodifiableEconomicSet.html#containsAll(java.lang.Iterable)","name":"containsAll","kind":"method","signature":"default boolean containsAll(Iterable<? extends E> coll)","params":[{"name":"coll","type":"Iterable<? extends E>"}],"returns":{"type":"boolean"}}
{"symbol":"org.graalvm.collections.UnmodifiableEconomicSet.removeIf(Predicate)","href":"org/graalvm/collections/UnmodifiableEconomicSet.html#removeIf(java.util.function.Predicate)","name":"removeIf","kind":"method","signature":"default boolean removeIf(Predicate<? super E> filter)","params":[{"name":"filter","type":"Predicate<? super E>"}],"returns":{"type":"boolean"}}
{"symbol":"org.graalvm.collections.UnmodifiableMapCursor","href":"org/graalvm/collections/UnmodifiableMapCursor.html","name":"UnmodifiableMapCursor","kind":"interface","signature":"public interface UnmodifiableMapCursor<K, V>","summary":"Cursor to iterate over a map without changing its contents."}
{"symbol":"org.graalvm.collections.UnmodifiableMapCursor.advance()","href":"org/graalvm/collections/UnmodifiableMapCursor.html#advance()","name":"advance","kind":"method","signature":"boolean advance()","summary":"Advances to the next entry.","returns":{"type":"boolean","doc":"true if a next entry exists, false if there is no next entry."}}
{"symbol":"org.graalvm.collections.UnmodifiableMapCursor.getKey()","href":"org/graalvm/collections/UnmodifiableMapCursor.html#getKey()","name":"getKey","kind":"method","signature":"K getKey()","summary":"The key of the current entry.","returns":{"type":"K"}}
{"symbol":"org.graalvm.collections.UnmodifiableMapCursor.getValue()","href":"org/graalvm/collections/UnmodifiableMapCursor.html#getValue()","name":"getValue","kind":"method","signature":"V getValue()","summary":"The value of the current entry.","returns":{"type":"V"}}
