| Constructor and Description |
|---|
Tuple4() |
| 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.
|
static <T0,T1,T2,T3> |
of(T0 t0,
T1 t1,
T2 t2,
T3 t3)
Creates a
Tuple4 of 4 elements. |
int |
size()
Gets the number of elements of the
Tuple. |
Tuple3<T1,T2,T3> |
tail()
Gets a
Tuple3 with all the elements of this tuple skipping the first
one. |
public static <T0,T1,T2,T3> Tuple4<T0,T1,T2,T3> of(T0 t0, T1 t1, T2 t2, T3 t3)
Tuple4 of 4 elements.T0 - type of 0th elementT1 - type of 1th elementT2 - type of 2th elementT3 - type of 3th elementt0 - 0th elementt1 - 1th elementt2 - 2th elementt3 - 3th elementTuple4public int size()
TupleTuple.Tuplepublic abstract T0 get_0()
public abstract T1 get_1()
public abstract T2 get_2()
public abstract T3 get_3()
Copyright © 2021. All rights reserved.