Interface TriFunction<A,B,C,R>
- Type Parameters:
A- first argument type - 第一个参数类型B- second argument type - 第二个参数类型C- third argument type - 第三个参数类型R- return type - 返回值类型
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Three-argument function interface
三元函数接口
Represents a function that accepts three arguments and produces a result.
表示接受三个参数并产生结果的函数。
Usage Examples | 使用示例:
TriFunction<String, Integer, Boolean, String> format =
(name, age, active) -> name + "(" + age + ", " + active + ")";
String result = format.apply("Alice", 30, true);
- Since:
- JDK 25, opencode-base-core V1.0.0
- Author:
- Leon Soo www.LeonSoo.com
- See Also:
-
Method Summary
-
Method Details
-
apply
-