| 限定符和类型 | 方法和说明 |
|---|---|
Tuple2<T1,T2> |
clone() |
boolean |
equals(Object o) |
<T> T |
get(int index) |
int |
hashCode() |
T1 |
item1() |
T2 |
item2() |
<TM1,TM2> Tuple2<TM1,TM2> |
map(Function<T1,TM1> map1,
Function<T2,TM2> map2) |
<TM1> Tuple2<TM1,T2> |
mapItem1(Function<T1,TM1> map1) |
<TM2> Tuple2<T1,TM2> |
mapItem2(Function<T2,TM2> map2) |
Optional<T1> |
optionalItem1() |
Optional<T2> |
optionalItem2() |
int |
size() |
String |
toString() |
Tuple2<T1,T2> |
with(T1 item1,
T2 item2) |
Tuple2<T1,T2> |
withItem1(T1 item1) |
Tuple2<T1,T2> |
withItem2(T2 item2) |
forEach, spliteratorCopyright © 2023. All rights reserved.