public final class tuple2<T0,T1> extends AbstractTuple
Modifier and Type | Field and Description |
---|---|
T0 |
value0 |
T1 |
value1 |
fieldNames
Modifier and Type | Method and Description |
---|---|
tuple |
copy() |
java.lang.Object |
get(int index) |
<E> E |
get(int index,
java.lang.Class<E> elementClass) |
int |
size() |
java.lang.String |
toString() |
static <T0,T1> tuple2<T0,T1> |
valueOf(T0 value0,
T1 value1) |
compareTo, equals, get, get, getBoolean, getBoolean, getDict, getDict, getDouble, getDouble, getFloat, getFloat, getInt, getInt, getList, getList, getStr, getStr, getString, getString, getTuple, getTuple, hashCode, in, len, name
public static <T0,T1> tuple2<T0,T1> valueOf(T0 value0, T1 value1)
public java.lang.String toString()
toString
in class java.lang.Object
public <E> E get(int index, java.lang.Class<E> elementClass)
get
in interface tuple
get
in class AbstractTuple
public java.lang.Object get(int index)
public int size()
size
in interface tuple
size
in class AbstractTuple
public tuple copy()