Package org.apache.flink.test.util
Class TestBaseUtils.TupleComparator<T extends org.apache.flink.api.java.tuple.Tuple>
- java.lang.Object
-
- org.apache.flink.test.util.TestBaseUtils.TupleComparator<T>
-
- Type Parameters:
T
- tuple type
- All Implemented Interfaces:
Comparator<T>
- Enclosing class:
- TestBaseUtils
public static class TestBaseUtils.TupleComparator<T extends org.apache.flink.api.java.tuple.Tuple> extends Object implements Comparator<T>
Comparator for comparable Tuples.
-
-
Constructor Summary
Constructors Constructor Description TupleComparator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(T o1, T o2)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
-
-
-
Method Detail
-
compare
public int compare(T o1, T o2)
- Specified by:
compare
in interfaceComparator<T extends org.apache.flink.api.java.tuple.Tuple>
-
-