接口 Function<T,R>
public interface Function<T,R>
Function functional interface from JDK 8.
-
方法概要
-
方法详细资料
-
apply
Applies this function to the given argument.- 参数:
t- the function argument- 返回:
- the function result
-
identity
Returns a function that always returns its input argument.- 类型参数:
T- the type of the input and output objects to the function- 返回:
- a function that always returns its input argument
-