org.apache.sysml.runtime.instructions.spark.utils

Class RDDSortUtils.IndexComparator

  • java.lang.Object
    • org.apache.sysml.runtime.instructions.spark.utils.RDDSortUtils.IndexComparator
    • Constructor Detail

      • IndexComparator

        public IndexComparator(boolean asc)
    • Method Detail

      • compare

        public int compare(org.apache.sysml.runtime.instructions.spark.utils.RDDSortUtils.ValueIndexPair o1,
                           org.apache.sysml.runtime.instructions.spark.utils.RDDSortUtils.ValueIndexPair o2)
        Specified by:
        compare in interface Comparator<org.apache.sysml.runtime.instructions.spark.utils.RDDSortUtils.ValueIndexPair>

Copyright © 2017 The Apache Software Foundation. All rights reserved.