Package com.majorana.maj_orm.Utils
Class PairComparator
java.lang.Object
com.majorana.maj_orm.Utils.PairComparator
- All Implemented Interfaces:
Comparator<org.apache.commons.lang3.tuple.Pair<Integer,
Integer>>
public class PairComparator
extends Object
implements Comparator<org.apache.commons.lang3.tuple.Pair<Integer,Integer>>
-
Constructor Summary
-
Method Summary
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, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
PairComparator
public PairComparator()
-
-
Method Details
-
compare
public int compare(org.apache.commons.lang3.tuple.Pair<Integer, Integer> o1, org.apache.commons.lang3.tuple.Pair<Integer, Integer> o2) - Specified by:
compare
in interfaceComparator<org.apache.commons.lang3.tuple.Pair<Integer,
Integer>>
-
reversed
- Specified by:
reversed
in interfaceComparator<org.apache.commons.lang3.tuple.Pair<Integer,
Integer>>
-