public abstract static class SortedTable.AbstractRowComparator extends Object implements Comparator
Constructor and Description |
---|
AbstractRowComparator(ITable table,
Column[] sortColumns) |
Modifier and Type | Method and Description |
---|---|
protected abstract int |
compare(Column column,
Object value1,
Object value2) |
int |
compare(Object o1,
Object o2) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public int compare(Object o1, Object o2)
compare
in interface Comparator
protected abstract int compare(Column column, Object value1, Object value2) throws TypeCastException
column
- The column to be comparedvalue1
- The first value of the given columnvalue2
- The second value of the given columnTypeCastException
Copyright © 2002–2018. All rights reserved.