Uses of Interface
org.agrona.collections.IntObjectToObjectFunction
Packages that use IntObjectToObjectFunction
Package
Description
Collections classes that support primitive types and tend to be cache friendly.
-
Uses of IntObjectToObjectFunction in org.agrona.collections
Methods in org.agrona.collections with parameters of type IntObjectToObjectFunctionModifier and TypeMethodDescriptionInt2ObjectCache.compute
(int key, IntObjectToObjectFunction<? super V, ? extends V> remappingFunction) Attempts to compute a mapping for the specified key and its current mapped value (ornull
if there is no current mapping).Int2ObjectHashMap.compute
(int key, IntObjectToObjectFunction<? super V, ? extends V> remappingFunction) Attempts to compute a mapping for the specified key and its current mapped value (ornull
if there is no current mapping).Int2ObjectCache.computeIfPresent
(int key, IntObjectToObjectFunction<? super V, ? extends V> remappingFunction) If the value for the specified key is present attempts to compute a new mapping given the key and its current mapped value.Int2ObjectHashMap.computeIfPresent
(int key, IntObjectToObjectFunction<? super V, ? extends V> remappingFunction) If the value for the specified key is present and non-null, attempts to compute a new mapping given the key and its current mapped value.void
Int2ObjectCache.replaceAllInt
(IntObjectToObjectFunction<? super V, ? extends V> function) Replaces each entry's value with the result of invoking the given function on that entry until all entries have been processed or the function throws an exception.void
Int2ObjectHashMap.replaceAllInt
(IntObjectToObjectFunction<? super V, ? extends V> function) Primitive specialised version ofMap.replaceAll(BiFunction)
.