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