public final class Tuple7<A,B,C,D,E,F,G> extends Tuple
| 限定符和类型 | 字段和说明 |
|---|---|
A |
a |
B |
b |
C |
c |
D |
d |
E |
e |
F |
f |
G |
g |
HASH_FACTOR| 限定符和类型 | 方法和说明 |
|---|---|
Tuple7<A,B,C,D,E,F,G> |
copy()
Returns a copy of this instance.
|
boolean |
eq(Object a,
Object b,
Object c,
Object d,
Object e,
Object f,
Object g) |
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,D,E,F,G> |
of(A a,
B b,
C c,
D d,
E e,
F f,
G g) |
<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,D,E,F,G> Tuple7<A,B,C,D,E,F,G> of(A a, B b, C c, D d, E e, F f, G g)
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.