public class Tuple2<R1,R2> extends Object
| Modifier and Type | Method and Description |
|---|---|
static <C1,C2> Tuple2<C1,C2> |
of(C1 c1,
C2 c2)
Factory method for creating a Tuple.
|
Tuple2<R2,R1> |
swap()
Swaps the element of this Tuple.
|
String |
toString() |
public static <C1,C2> Tuple2<C1,C2> of(C1 c1, C2 c2)
public Tuple2<R2,R1> swap()
Copyright © 2019 Alibaba Group. All rights reserved.