Package org.dbunit.dataset
Class SortedTable.RowComparatorByString
java.lang.Object
org.dbunit.dataset.SortedTable.AbstractRowComparator
org.dbunit.dataset.SortedTable.RowComparatorByString
- All Implemented Interfaces:
Comparator
- Enclosing class:
SortedTable
Compares the rows with each other in order to sort them in the correct
order using the string value of both values for the comparison.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.dbunit.dataset.SortedTable.AbstractRowComparator
compareMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
RowComparatorByString
-
-
Method Details
-
compare
- Specified by:
comparein classSortedTable.AbstractRowComparator- Parameters:
column- The column to be comparedvalue1- The first value of the given columnvalue2- The second value of the given column- Returns:
- 0 if both values are considered equal.
- Throws:
TypeCastException
-