public final class Tuple4<A,B,C,D> extends Tuple
| 限定符和类型 | 方法和说明 |
|---|---|
Tuple4<A,B,C,D> |
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,B,C,D> Tuple4<A,B,C,D> |
of(A a,
B b,
C c,
D d) |
<T> void |
set(T value,
int index)
Set the value at the given index.
|
public static <A,B,C,D> Tuple4<A,B,C,D> of(A a, B b, C c, D d)
public <T> T get(int index)
Tuplepublic <T> void set(T value,
int index)
Tuplepublic int length()
TupleCopyright © 2023. All rights reserved.