Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.encog.app.analyst.csv.sort
Class RowComparator

    java.lang.Object
      org.encog.app.analyst.csv.sort.RowComparator

All Implemented Interfaces:
  Comparator<LoadedRow>

    public class RowComparator

extends Object
implements Comparator<LoadedRow>

Used to compare two LoadedRow objects.

Constructor Summary
`RowComparator(SortCSV owner)` Construct the object.

Method Summary
`int` | `compare(LoadedRow x, LoadedRow y)` Compare two LoadedRow objects.

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`

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 `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.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2014. All Rights Reserved.