public abstract class Tuples
extends java.lang.Object
Constructor and Description |
---|
Tuples() |
Modifier and Type | Method and Description |
---|---|
static <T1> Tuple1<T1> |
of(T1 t1)
Create a
Tuple1 with the given object. |
static <T1,T2> Tuple2<T1,T2> |
of(T1 t1,
T2 t2)
Create a
Tuple2 with the given objects. |