Interface XFunction<T,R>

Type Parameters:
T - 函数的输入类型
R - 函数结果的类型
All Superinterfaces:
Function<T,R>, Serializable
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface XFunction<T,R> extends Function<T,R>, Serializable
表示接受一个参数并产生结果的函数
Since:
Java 17+
Author:
Kimi Liu