Class RDDSortUtils.IndexComparator2
- java.lang.Object
-
- org.apache.sysds.runtime.instructions.spark.utils.RDDSortUtils.IndexComparator2
-
- All Implemented Interfaces:
Serializable
,Comparator<org.apache.sysds.runtime.instructions.spark.utils.RDDSortUtils.ValuesIndexPair>
- Enclosing class:
- RDDSortUtils
public static class RDDSortUtils.IndexComparator2 extends Object implements Comparator<org.apache.sysds.runtime.instructions.spark.utils.RDDSortUtils.ValuesIndexPair>, Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IndexComparator2(boolean asc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(org.apache.sysds.runtime.instructions.spark.utils.RDDSortUtils.ValuesIndexPair o1, org.apache.sysds.runtime.instructions.spark.utils.RDDSortUtils.ValuesIndexPair o2)
-
Methods inherited from class java.lang.Object
equals, 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(org.apache.sysds.runtime.instructions.spark.utils.RDDSortUtils.ValuesIndexPair o1, org.apache.sysds.runtime.instructions.spark.utils.RDDSortUtils.ValuesIndexPair o2)
- Specified by:
compare
in interfaceComparator<org.apache.sysds.runtime.instructions.spark.utils.RDDSortUtils.ValuesIndexPair>
-
-