com.koloboke.function
Interface ToLongFunction<T>

Type Parameters:
T - the type of the input to the function

public interface ToLongFunction<T>

Represents a function that produces a long-valued result. This is the long-producing primitive specialization for Function.

See Also:
Function

Method Summary
 long applyAsLong(T value)
          Applies this function to the given argument.
 

Method Detail

applyAsLong

long applyAsLong(T value)
Applies this function to the given argument.

Parameters:
value - the function argument
Returns:
the function result