[Java] Class Tuple2<T1, T2>
public final class Tuple2<T1, T2>
extends Tuple
Represents a list of 2 typed Objects.
Constructor Summary
Methods Summary
Inherited Methods Summary
Inherited Methods
Methods inherited from class | Name |
class Tuple | clone, compareTo, equals, get, hashCode, size, subList, subTuple, toArray, tuple, tuple, tuple, tuple, tuple, tuple, tuple, tuple, tuple, tuple, tuple, tuple, tuple, tuple, tuple, tuple, tuple |
Constructor Detail
public Tuple2(T1 v1, T2 v2)
public Tuple2(Tuple2<T1, T2> tuple)
Method Detail
public T1 getV1()
public T2 getV2()