public interface CellComparator
| Modifier and Type | Method and Description |
|---|---|
int |
compare(java.lang.Object o1,
java.lang.Object o2)
Compares its two arguments for order.
|
int compare(java.lang.Object o1,
java.lang.Object o2)
Note that nulls are permitted, and should be sorted to the beginning of an ascending sort; i.e. null is considered to be "smaller" than non-null values.
o1 - the first object to be comparedo2 - the second object to be comparedjava.lang.ClassCastException - if the arguments' types prevent them from
being compared by this comparatorComparator.compare(Object, Object)