public class ComparableTuple2<A extends Comparable<A>,B extends Comparable<B>> extends Tuple2<A,B> implements Comparable<Tuple2<A,B>>
Constructor and Description |
---|
ComparableTuple2(A val0,
B val1) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Tuple2<A,B> that) |
public int compareTo(Tuple2<A,B> that)
compareTo
in interface Comparable<Tuple2<A extends Comparable<A>,B extends Comparable<B>>>