public class Tuple2<T,E> extends Tuple
Constructor and Description |
---|
Tuple2(T entity1,
E entity2)
Convenience constructor for binary tuples.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Clone this tuple.
|
T |
getFirstEntity()
Get the first entity.
|
E |
getSecondEntity()
Get the second entity.
|