| Constructor and Description |
|---|
Tuple1() |
| Modifier and Type | Method and Description |
|---|---|
abstract T0 |
get_0()
Gets the 0th element.
|
static <T0> Tuple1<T0> |
of(T0 t0)
Creates a
Tuple1 of 1 element. |
int |
size()
Gets the number of elements of the
Tuple. |
Tuple0 |
tail()
Gets a
Tuple0 with all the elements of this tuple skipping the first
one. |
public static <T0> Tuple1<T0> of(T0 t0)
Tuple1 of 1 element.T0 - type of 0th elementt0 - 0th elementTuple1public int size()
TupleTuple.Tuplepublic abstract T0 get_0()
Copyright © 2021. All rights reserved.