protected static final class Tuples.Tuple2Comparator<T1,T2> extends Object implements Comparator<Tuples.Tuple2<T1,T2>>, Serializable
Modifier | Constructor and Description |
---|---|
protected |
Tuple2Comparator(Comparator<T1> comparator1,
Comparator<T2> comparator2) |
Modifier and Type | Method and Description |
---|---|
int |
compare(Tuples.Tuple2<T1,T2> arg0,
Tuples.Tuple2<T1,T2> arg1) |
boolean |
equals(Object obj) |
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
protected Tuple2Comparator(Comparator<T1> comparator1, Comparator<T2> comparator2)
public int compare(Tuples.Tuple2<T1,T2> arg0, Tuples.Tuple2<T1,T2> arg1)
compare
in interface Comparator<Tuples.Tuple2<T1,T2>>
public boolean equals(Object obj)
equals
in interface Comparator<Tuples.Tuple2<T1,T2>>
equals
in class Object
Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.