T1
- The type of the first value held by this tupleT2
- The type of the second value held by this tuplepublic class Tuple2<T1,T2> extends Tuple1<T1>
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.Object |
get(int index) |
T2 |
getT2()
Type-safe way to get the second object of this
Tuple . |
int |
hashCode() |
java.lang.Object[] |
toArray()
Turn this Tuple into a plain Object array.
|
java.lang.String |
toString() |
iterator, size, toList
protected final T2 t2