Uses of Interface
org.agrona.collections.ObjectLongToLongFunction
Packages that use ObjectLongToLongFunction
Package
Description
Collections classes that support primitive types and tend to be cache friendly.
-
Uses of ObjectLongToLongFunction in org.agrona.collections
Methods in org.agrona.collections with parameters of type ObjectLongToLongFunctionModifier and TypeMethodDescriptionlong
Object2LongHashMap.compute
(K key, ObjectLongToLongFunction<? super K> remappingFunction) Attempts to compute a mapping for the specified key and its current mapped value (or missingValue if there is no current mapping).long
Object2LongHashMap.computeIfPresent
(K key, ObjectLongToLongFunction<? super K> remappingFunction) If the value for the specified key is present, attempts to compute a new mapping given the key and its current mapped value.void
Object2LongHashMap.replaceAllLong
(ObjectLongToLongFunction<? super K> function) Primitive specialised version ofMap.replaceAll(BiFunction)
.