public class DataSetRowComparator extends Object implements Comparator<Integer>
| Modifier and Type | Field and Description |
|---|---|
protected List<DataColumn> |
columns |
protected List<SortOrder> |
orders |
| Constructor and Description |
|---|
DataSetRowComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Integer row1,
Integer row2) |
DataSetRowComparator |
criteria(DataColumn column,
SortOrder order) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongprotected List<DataColumn> columns
public DataSetRowComparator criteria(DataColumn column, SortOrder order)
public int compare(Integer row1, Integer row2)
compare in interface Comparator<Integer>Copyright © 2017–2019 JBoss by Red Hat. All rights reserved.