Documentation of 'org.encog.app.analyst.csv.sort.RowComparator' Java class
RowComparator
org.encog.app.analyst.csv.sort

Class RowComparator

  • All Implemented Interfaces:
    java.util.Comparator<LoadedRow>


    public class RowComparator
    extends java.lang.Object
    implements java.util.Comparator<LoadedRow>
    Used to compare two LoadedRow objects.
    • Constructor Summary

      Constructors 
      Constructor and Description
      RowComparator(SortCSV owner)
      Construct the object.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      int compare(LoadedRow x, LoadedRow y)
      Compare two LoadedRow objects.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.Comparator

        comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
    • Constructor Detail

      • RowComparator

        public RowComparator(SortCSV owner)
        Construct the object.
        Parameters:
        owner - The owner.
    • Method Detail

      • compare

        public int compare(LoadedRow x,
                           LoadedRow y)
        Compare two LoadedRow objects.
        Specified by:
        compare in interface java.util.Comparator<LoadedRow>
        Parameters:
        x - The first object to compare.
        y - The second object to compare.
        Returns:
        0 if the same,<0 x is less, >0 y is less.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.