- All Implemented Interfaces:
java.io.Serializable
, java.util.Comparator
@Deprecated
public class SQLComparator
extends java.lang.Object
implements java.util.Comparator, java.io.Serializable
Deprecated.
SQLComparator is a default implementation of the Comparator interface.
SortedRowSet use SQLComparator to sort its rows and uses the return
value of the SQLComparator.compare
method to decide the order of any two
rows.
The syntax of a columns string specified in a SQLComparator constructor
is a string of column names in a RowSet that is separated by a comma "," character.
For example, "c1, c2, c3" and "c*" is a valid column name.
- See Also:
- Serialized Form