Interface QuadFunction<A,B,C,D,R>
- Type Parameters:
A- first argument type - 第一个参数类型B- second argument type - 第二个参数类型C- third argument type - 第三个参数类型D- fourth 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.
Four-argument function interface
四元函数接口
Represents a function that accepts four arguments and produces a result.
表示接受四个参数并产生结果的函数。
Usage Examples | 使用示例:
QuadFunction<String, String, Integer, Boolean, String> format =
(first, last, age, active) -> first + " " + last + "(" + age + ", " + active + ")";
String result = format.apply("Alice", "Smith", 30, true);
- Since:
- JDK 25, opencode-base-core V1.0.0
- Author:
- Leon Soo www.LeonSoo.com
- See Also:
-
Method Summary
-
Method Details
-
apply
-