de.erichseifert.gral.data.comparators
Class Ascending
java.lang.Object
de.erichseifert.gral.data.comparators.DataComparator
de.erichseifert.gral.data.comparators.Ascending
- All Implemented Interfaces:
- Serializable, Comparator<Number[]>
public class Ascending
- extends DataComparator
Class that represents a DataComparator sorting a specific column in
ascending order.
- See Also:
- Serialized Form
Constructor Summary |
Ascending(int col)
Creates a new Ascending object sorting according to the specified
column. |
Ascending
public Ascending(int col)
- Creates a new Ascending object sorting according to the specified
column.
- Parameters:
col
- Column index to be compared.
compare
public int compare(Number[] o1,
Number[] o2)
Copyright © 2009-2010. All Rights Reserved.