| 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.
|
int |
hashCode()
Compute hash code.
|
String |
toString() |
public V2 getValue2()
Has2public 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 V1 getValue1()
Has1Copyright © 2016. All rights reserved.