Uses of Interface
org.eclipse.collections.api.block.function.primitive.LongToShortFunction
Packages that use LongToShortFunction
Package
Description
This package contains interfaces for Eclipse Collections API.
This package contains API for primitive to primitive maps, primitive to object maps and object to primitive maps with mutable and immutable variants.
-
Uses of LongToShortFunction in org.eclipse.collections.api
Methods in org.eclipse.collections.api with parameters of type LongToShortFunctionModifier and TypeMethodDescriptionLazyLongIterable.collectShort(LongToShortFunction function) default <R extends MutableShortCollection>
RLongIterable.collectShort(LongToShortFunction function, R target) Returns the targetMutableShortCollectionwith the results of applying the specified function on each element of the source collection. -
Uses of LongToShortFunction in org.eclipse.collections.api.map.primitive
Methods in org.eclipse.collections.api.map.primitive with parameters of type LongToShortFunctionModifier and TypeMethodDescriptionshortMutableLongShortMap.getIfAbsentPutWithKey(long key, LongToShortFunction function) Retrieves the value associated with the key if one exists; if it does not, associates the result of invoking the value function with the key.