public final class Tuple3<A,B,C> extends Tuple
| 限定符和类型 | 方法和说明 |
|---|---|
Tuple3<A,B,C> |
copy()
Returns a copy of this instance.
|
boolean |
eq(Object a,
Object b,
Object c) |
boolean |
equals(Object obj)
Override the Object equals method as abstract.
|
<T> T |
get(int index)
Get the object at the given index.
|
int |
hashCode()
Override the Object hashCode method as abstract.
|
int |
length()
Returns int value of this tuple elements count.
|
static <A,B,C> Tuple3<A,B,C> |
of(A a,
B b,
C c) |
<T> void |
set(T value,
int index)
Set the value at the given index.
|
Object[] |
toArray()
Turn this
Tuple into a plain Object[]. |
String |
toString()
Override the Object toString method as abstract.
|
public static <A,B,C> Tuple3<A,B,C> of(A a, B b, C c)
public <T> T get(int index)
Tuplepublic <T> void set(T value,
int index)
Tuplepublic Object[] toArray()
TupleTuple into a plain Object[].
The array isn't tied to this Tuple but is a copy.public boolean equals(Object obj)
Tuplepublic int hashCode()
Tuplepublic int length()
TupleCopyright © 2023. All rights reserved.