Interface ToIntFunction<T>
-
public interface ToIntFunction<T>Represents a function that accepts one argument and produces anintresult. Very simple and stupid interface for representing functions f(T) →int.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intapplyAsInt(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
-
-