Uses of Interface
org.agrona.collections.LongObjConsumer
Packages that use LongObjConsumer
Package
Description
Collections classes that support primitive types and tend to be cache friendly.
-
Uses of LongObjConsumer in org.agrona.collections
Methods in org.agrona.collections with parameters of type LongObjConsumerModifier and TypeMethodDescriptionvoid
Long2ObjectCache.forEachLong
(LongObjConsumer<? super V> consumer) Implementation of theLong2ObjectCache.forEach(BiConsumer)
that avoids boxing of keys.void
Long2ObjectHashMap.forEachLong
(LongObjConsumer<V> consumer) Primitive specialised implementation ofMap.forEach(BiConsumer)
.void
Long2ObjectHashMap.longForEach
(LongObjConsumer<V> consumer) Deprecated.
Long2ObjectHashMap.forEachLong(LongObjConsumer)
instead.