public abstract static class SortedTable.AbstractRowComparator extends Object implements Comparator
Constructor and Description |
---|
SortedTable.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
equals
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-2016. All Rights Reserved.