T - the type of the input to the function@FunctionalInterface public interface ToIntFunction<T>
int-producing primitive specialization for Function.
This is a functional interface
whose functional method is applyAsInt(java.lang.Object).
Function| 限定符和类型 | 方法 | 说明 |
|---|---|---|
int |
applyAsInt(T value) |
Applies this function to the given argument.
|
int applyAsInt(T value)
value - the function argument