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