Modifier and Type | Method and Description |
---|---|
static <T1> Tuple1<T1> |
of(T1 element1)
Creates a
Tuple of 1 element. |
static <T1,T2> Tuple2<T1,T2> |
of(T1 element1,
T2 element2)
Creates a
Tuple of 2 elements. |
static <T1,T2,T3> Tuple3<T1,T2,T3> |
of(T1 element1,
T2 element2,
T3 element3)
Creates a
Tuple of 3 elements. |
static <T1,T2,T3,T4> |
of(T1 element1,
T2 element2,
T3 element3,
T4 element4)
Creates a
Tuple of 4 elements. |
static <T1,T2,T3,T4,T5> |
of(T1 element1,
T2 element2,
T3 element3,
T4 element4,
T5 element5)
Creates a
Tuple of 5 elements. |
static <T1,T2,T3,T4,T5,T6> |
of(T1 element1,
T2 element2,
T3 element3,
T4 element4,
T5 element5,
T6 element6)
Creates a
Tuple of 6 elements. |
static <T1,T2,T3,T4,T5,T6,T7> |
of(T1 element1,
T2 element2,
T3 element3,
T4 element4,
T5 element5,
T6 element6,
T7 element7)
Creates a
Tuple of 7 elements. |
static <T1,T2,T3,T4,T5,T6,T7,T8> |
of(T1 element1,
T2 element2,
T3 element3,
T4 element4,
T5 element5,
T6 element6,
T7 element7,
T8 element8)
Creates a
Tuple of 8 elements. |
static <T1,T2,T3,T4,T5,T6,T7,T8,T9> |
of(T1 element1,
T2 element2,
T3 element3,
T4 element4,
T5 element5,
T6 element6,
T7 element7,
T8 element8,
T9 element9)
Creates a
Tuple of 9 elements. |
static <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10> |
of(T1 element1,
T2 element2,
T3 element3,
T4 element4,
T5 element5,
T6 element6,
T7 element7,
T8 element8,
T9 element9,
T10 element10)
Creates a
Tuple of 10 elements. |
public static <T1> Tuple1<T1> of(T1 element1)
Tuple
of 1 element.public static <T1,T2> Tuple2<T1,T2> of(T1 element1, T2 element2)
Tuple
of 2 elements.public static <T1,T2,T3> Tuple3<T1,T2,T3> of(T1 element1, T2 element2, T3 element3)
Tuple
of 3 elements.public static <T1,T2,T3,T4> Tuple4<T1,T2,T3,T4> of(T1 element1, T2 element2, T3 element3, T4 element4)
Tuple
of 4 elements.public static <T1,T2,T3,T4,T5> Tuple5<T1,T2,T3,T4,T5> of(T1 element1, T2 element2, T3 element3, T4 element4, T5 element5)
Tuple
of 5 elements.public static <T1,T2,T3,T4,T5,T6> Tuple6<T1,T2,T3,T4,T5,T6> of(T1 element1, T2 element2, T3 element3, T4 element4, T5 element5, T6 element6)
Tuple
of 6 elements.public static <T1,T2,T3,T4,T5,T6,T7> Tuple7<T1,T2,T3,T4,T5,T6,T7> of(T1 element1, T2 element2, T3 element3, T4 element4, T5 element5, T6 element6, T7 element7)
Tuple
of 7 elements.public static <T1,T2,T3,T4,T5,T6,T7,T8> Tuple8<T1,T2,T3,T4,T5,T6,T7,T8> of(T1 element1, T2 element2, T3 element3, T4 element4, T5 element5, T6 element6, T7 element7, T8 element8)
Tuple
of 8 elements.public static <T1,T2,T3,T4,T5,T6,T7,T8,T9> Tuple9<T1,T2,T3,T4,T5,T6,T7,T8,T9> of(T1 element1, T2 element2, T3 element3, T4 element4, T5 element5, T6 element6, T7 element7, T8 element8, T9 element9)
Tuple
of 9 elements.public static <T1,T2,T3,T4,T5,T6,T7,T8,T9,T10> Tuple10<T1,T2,T3,T4,T5,T6,T7,T8,T9,T10> of(T1 element1, T2 element2, T3 element3, T4 element4, T5 element5, T6 element6, T7 element7, T8 element8, T9 element9, T10 element10)
Tuple
of 10 elements.