| Constructor and Description |
|---|
Tuple5() |
| Modifier and Type | Method and Description |
|---|---|
abstract T0 |
get_0()
Gets the 0th element.
|
abstract T1 |
get_1()
Gets the 1st element.
|
abstract T2 |
get_2()
Gets the 2nd element.
|
abstract T3 |
get_3()
Gets the 3th element.
|
abstract T4 |
get_4()
Gets the 4th element.
|
static <T0,T1,T2,T3,T4> |
of(T0 t0,
T1 t1,
T2 t2,
T3 t3,
T4 t4)
Creates a
Tuple5 of 5 elements. |
int |
size()
Gets the number of elements of the
Tuple. |
Tuple4<T1,T2,T3,T4> |
tail()
Gets a
Tuple4 with all the elements of this tuple skipping the first
one. |
public static <T0,T1,T2,T3,T4> Tuple5<T0,T1,T2,T3,T4> of(T0 t0, T1 t1, T2 t2, T3 t3, T4 t4)
Tuple5 of 5 elements.T0 - type of 0th elementT1 - type of 1th elementT2 - type of 2th elementT3 - type of 3th elementT4 - type of 4th elementt0 - 0th elementt1 - 1th elementt2 - 2th elementt3 - 3th elementt4 - 4th elementTuple5public int size()
TupleTuple.Tuplepublic abstract T0 get_0()
public abstract T1 get_1()
public abstract T2 get_2()
public abstract T3 get_3()
public abstract T4 get_4()
Copyright © 2021. All rights reserved.