public final class Tuple1<A> extends Tuple
| 限定符和类型 | 方法和说明 |
|---|---|
Tuple1<A> |
copy()
Returns a copy of this instance.
|
<T> T |
get(int index)
Get the object at the given index.
|
int |
length()
Returns int value of this tuple elements count.
|
static <A> Tuple1<A> |
of(A a) |
<T> void |
set(T value,
int index)
Set the value at the given index.
|
public A a
public Tuple1(A a)
public static <A> Tuple1<A> of(A a)
public <T> T get(int index)
Tuplepublic <T> void set(T value,
int index)
Tuplepublic int length()
TupleCopyright © 2024. All rights reserved.