| 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.
|
int |
hashCode()
Compute hash code.
|
String |
toString() |
public Tuple1(V1 v1)
v1 - the valuepublic V1 getValue1()
Has1public int getSize()
Tuplepublic List<Object> asList()
Tuplepublic boolean equals(Object obj)
TupleTuples are equal if they have the same size and the corresponding individual values are equal (or null).
Copyright © 2016. All rights reserved.