Class SortedTable.RowComparatorByString

java.lang.Object
org.dbunit.dataset.SortedTable.AbstractRowComparator
org.dbunit.dataset.SortedTable.RowComparatorByString
All Implemented Interfaces:
Comparator
Enclosing class:
SortedTable

protected static class SortedTable.RowComparatorByString extends SortedTable.AbstractRowComparator
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 Details

    • RowComparatorByString

      public RowComparatorByString(ITable table, Column[] sortColumns)
      Constructs a comparator sorting rows of the given table by the given columns, using each column's string value.
      Parameters:
      table - the wrapped table to be sorted.
      sortColumns - the columns to be used for sorting in the given order.
  • Method Details