| 程序包 | 说明 |
|---|---|
| com.github.lokic.javaplus.func.tuple |
在函数式编程中,有时可能需要在lambda中临时传递一些数据,如果重新创建一个类来传递就显得有些繁琐。
|
| com.github.lokic.javaplus.tuple |
| 限定符和类型 | 方法和说明 |
|---|---|
default void |
TupleConsumer3.accept(Tuple3<T1,T2,T3> tuple3) |
default R |
TupleFunction3.apply(Tuple3<T1,T2,T3> tuple3) |
| 限定符和类型 | 方法和说明 |
|---|---|
static <T1,T2,T3> Tuple3<T1,T2,T3> |
Tuple.of(T1 t1,
T2 t2,
T3 t3) |
Copyright © 2021. All rights reserved.