@API(status=STABLE,
since="1.0")
public interface Tuple
extends java.io.Serializable, java.lang.Cloneable
Modifier and Type | Interface and Description |
---|---|
static class |
Tuple.Tuple1<T1> |
static class |
Tuple.Tuple2<T1,T2> |
static class |
Tuple.Tuple3<T1,T2,T3> |
static class |
Tuple.Tuple4<T1,T2,T3,T4> |
static class |
Tuple.Tuple5<T1,T2,T3,T4,T5> |
static class |
Tuple.Tuple6<T1,T2,T3,T4,T5,T6> |
static class |
Tuple.Tuple7<T1,T2,T3,T4,T5,T6,T7> |
static class |
Tuple.Tuple8<T1,T2,T3,T4,T5,T6,T7,T8> |
Modifier and Type | Method and Description |
---|---|
default java.util.List<java.lang.Object> |
items() |
static <T1> Tuple.Tuple1<T1> |
of(T1 v1) |
static <T1,T2> Tuple.Tuple2<T1,T2> |
of(T1 v1,
T2 v2) |
static <T1,T2,T3> Tuple.Tuple3<T1,T2,T3> |
of(T1 v1,
T2 v2,
T3 v3) |
static <T1,T2,T3,T4> |
of(T1 v1,
T2 v2,
T3 v3,
T4 v4) |
static <T1,T2,T3,T4,T5> |
of(T1 v1,
T2 v2,
T3 v3,
T4 v4,
T5 v5) |
static <T1,T2,T3,T4,T5,T6> |
of(T1 v1,
T2 v2,
T3 v3,
T4 v4,
T5 v5,
T6 v6) |
static <T1,T2,T3,T4,T5,T6,T7> |
of(T1 v1,
T2 v2,
T3 v3,
T4 v4,
T5 v5,
T6 v6,
T7 v7) |
static <T1,T2,T3,T4,T5,T6,T7,T8> |
of(T1 v1,
T2 v2,
T3 v3,
T4 v4,
T5 v5,
T6 v6,
T7 v7,
T8 v8) |
int |
size() |
int size()
default java.util.List<java.lang.Object> items()
static <T1> Tuple.Tuple1<T1> of(T1 v1)
static <T1,T2> Tuple.Tuple2<T1,T2> of(T1 v1, T2 v2)
static <T1,T2,T3> Tuple.Tuple3<T1,T2,T3> of(T1 v1, T2 v2, T3 v3)
static <T1,T2,T3,T4> Tuple.Tuple4<T1,T2,T3,T4> of(T1 v1, T2 v2, T3 v3, T4 v4)
static <T1,T2,T3,T4,T5> Tuple.Tuple5<T1,T2,T3,T4,T5> of(T1 v1, T2 v2, T3 v3, T4 v4, T5 v5)
static <T1,T2,T3,T4,T5,T6> Tuple.Tuple6<T1,T2,T3,T4,T5,T6> of(T1 v1, T2 v2, T3 v3, T4 v4, T5 v5, T6 v6)
static <T1,T2,T3,T4,T5,T6,T7> Tuple.Tuple7<T1,T2,T3,T4,T5,T6,T7> of(T1 v1, T2 v2, T3 v3, T4 v4, T5 v5, T6 v6, T7 v7)
static <T1,T2,T3,T4,T5,T6,T7,T8> Tuple.Tuple8<T1,T2,T3,T4,T5,T6,T7,T8> of(T1 v1, T2 v2, T3 v3, T4 v4, T5 v5, T6 v6, T7 v7, T8 v8)