com.koloboke.function
Interface ToIntFunction<T>

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

public interface ToIntFunction<T>

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

See Also:
Function

Method Summary
 int applyAsInt(T value)
          Applies this function to the given argument.
 

Method Detail

applyAsInt

int applyAsInt(T value)
Applies this function to the given argument.

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