public class TuplePair extends Tuple implements Resettable2<Tuple,Tuple>
elements, isUnmodifiable, NULL
Constructor and Description |
---|
TuplePair()
Constructor Tuple creates a new Tuple instance.
|
TuplePair(Tuple lhs,
Tuple rhs)
Constructor TuplePair creates a new TuplePair instance.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(java.lang.Object other)
Method compareTo implements the
Comparable.compareTo(Object) method. |
int |
compareTo(Tuple other)
Method compareTo compares this Tuple to the given Tuple instance.
|
int |
compareTo(TuplePair tuplePair)
Method compareTo compares this instance to the given TuplePair.
|
boolean |
equals(java.lang.Object object) |
Tuple |
getLhs()
Method getLhs returns the lhs of this TuplePair object.
|
Tuple |
getRhs()
Method getRhs returns the rhs of this TuplePair object.
|
int |
hashCode() |
java.lang.String |
print()
Method print returns a parsable String representation of this Tuple instance.
|
void |
reset(Tuple lhs,
Tuple rhs) |
java.lang.String |
toString() |
static Tuple[] |
tuples(TuplePair tuplePair)
Returns a reference to the private tuples of the given TuplePark
|
add, add, addAll, addAll, addBoolean, addDouble, addFloat, addInteger, addLong, addShort, addString, append, clear, compareTo, elements, format, get, get, getBoolean, getChar, getDouble, getFloat, getInteger, getLong, getObject, getPos, getShort, getString, getTypes, internalSet, isEmpty, isUnmodifiable, iterator, leave, printTo, put, remove, remove, set, set, set, setAll, setAll, setBoolean, setDouble, setFloat, setInteger, setLong, setShort, setString, size, size, size, toString, toString
public TuplePair()
public static Tuple[] tuples(TuplePair tuplePair)
tuplePair
- of type Tuple[]public Tuple getLhs()
public Tuple getRhs()
public void reset(Tuple lhs, Tuple rhs)
reset
in interface Resettable2<Tuple,Tuple>
public int compareTo(java.lang.Object other)
Tuple
Comparable.compareTo(Object)
method.public int compareTo(Tuple other)
Tuple
public int compareTo(TuplePair tuplePair)
tuplePair
- of type TuplePairCopyright © 2007-2017 Cascading Maintainers. All Rights Reserved.