Top Description Methods
org.eclipse.collections.api.block.function.primitive

public Interface LongFunction<T>

extends ToLongFunction<T>, Serializable
Annotations
@FunctionalInterface
Imports
java.io.Serializable

LongFunction is a primitive Function which may be used to reduce the overhead of autoboxing Long objects in places where primitive longs could be used. This file was automatically generated from template file primitiveFunction.stg.
Since
3.0.

Method Summary

Modifier and TypeMethod and Description
public default long
applyAsLong(T value)

Implements java.util.function.ToLongFunction.applyAsLong.

Applies this function to the given argument.

public long
longValueOf(T anObject)

Method Detail

applyAsLongback to summary
public default long applyAsLong(T value)

Implements java.util.function.ToLongFunction.applyAsLong.

Doc from java.util.function.ToLongFunction.applyAsLong.

Applies this function to the given argument.

Annotations
@Override
longValueOfback to summary
public long longValueOf(T anObject)