| Constructor and Description |
|---|
Tuple4(V1 v1,
V2 v2,
V3 v3,
V4 v4)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
List<Object> |
asList()
View this instance as a list.
|
boolean |
equals(Object obj)
Compare for equality.
|
int |
getSize()
Get the number of values in this tuple.
|
V1 |
getValue1()
Get the first value.
|
V2 |
getValue2()
Get the second value.
|
V3 |
getValue3()
Get the third value.
|
V4 |
getValue4()
Get the fourth value.
|
int |
hashCode()
Compute hash code.
|
String |
toString() |
public V4 getValue4()
Has4public int getSize()
Tuplepublic List<Object> asList()
Tuplepublic int hashCode()
TupleThe hash code of a tuple is the exclusive-OR of the hash codes of the individual values (using zero for null values).
public V3 getValue3()
Has3public V2 getValue2()
Has2public V1 getValue1()
Has1Copyright © 2016. All rights reserved.