public static class Tuple.Tuple2<T1,T2> extends Tuple.Tuple1<T1>
Tuple.Tuple0, Tuple.Tuple1<T1>, Tuple.Tuple2<T1,T2>, Tuple.Tuple3<T1,T2,T3>, Tuple.Tuple4<T1,T2,T3,T4>, Tuple.Tuple5<T1,T2,T3,T4,T5>, Tuple.Tuple6<T1,T2,T3,T4,T5,T6>, Tuple.Tuple7<T1,T2,T3,T4,T5,T6,T7>, Tuple.Tuple8<T1,T2,T3,T4,T5,T6,T7,T8>
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
T2 |
get2() |
int |
hashCode() |
java.util.List<java.lang.Object> |
items() |
int |
size() |
java.lang.String |
toString() |
get1
public int size()
size
in interface Tuple
size
in class Tuple.Tuple1<T1>
public T2 get2()
public java.util.List<java.lang.Object> items()
items
in interface Tuple
items
in class Tuple.Tuple1<T1>
public boolean equals(java.lang.Object o)
equals
in class Tuple.Tuple1<T1>
public int hashCode()
hashCode
in class Tuple.Tuple1<T1>
public java.lang.String toString()
toString
in class Tuple.Tuple1<T1>