com.koloboke.function
Interface IntFunction<R>

Type Parameters:
R - the type of the result of the function

public interface IntFunction<R>

Represents a function that accepts an int-valued argument and produces a result. This is the int-consuming primitive specialization for Function.

See Also:
Function

Method Summary
 R apply(int value)
          Applies this function to the given argument.
 

Method Detail

apply

R apply(int value)
Applies this function to the given argument.

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