Uses of Interface
org.agrona.collections.ObjectIntToIntFunction
Packages that use ObjectIntToIntFunction
Package
Description
Collections classes that support primitive types and tend to be cache friendly.
-
Uses of ObjectIntToIntFunction in org.agrona.collections
Methods in org.agrona.collections with parameters of type ObjectIntToIntFunctionModifier and TypeMethodDescriptionint
Object2IntHashMap.compute
(K key, ObjectIntToIntFunction<? 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).int
Object2IntHashMap.computeIfPresent
(K key, ObjectIntToIntFunction<? 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
Object2IntHashMap.replaceAllInt
(ObjectIntToIntFunction<? super K> function) Primitive specialised version ofMap.replaceAll(BiFunction)
.