|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dbunit.dataset.SortedTable.AbstractRowComparator org.dbunit.dataset.SortedTable.RowComparator
protected static class SortedTable.RowComparator
Compares the rows with each other in order to sort them in the correct order using the data type and the Comparable implementation the current column has.
Constructor Summary | |
---|---|
SortedTable.RowComparator(ITable table,
Column[] sortColumns)
|
Method Summary | |
---|---|
protected int |
compare(Column column,
java.lang.Object value1,
java.lang.Object value2)
|
Methods inherited from class org.dbunit.dataset.SortedTable.AbstractRowComparator |
---|
compare |
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 |
---|
public SortedTable.RowComparator(ITable table, Column[] sortColumns)
Method Detail |
---|
protected int compare(Column column, java.lang.Object value1, java.lang.Object value2) throws TypeCastException
compare
in class SortedTable.AbstractRowComparator
column
- The column to be comparedvalue1
- The first value of the given columnvalue2
- The second value of the given column
TypeCastException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |