public interface CellComparator
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Object o1,
Object o2)
Compares its two arguments for order.
|
int compare(Object o1, 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 comparedClassCastException - if the arguments' types prevent them from
being compared by this comparatorComparator.compare(Object, Object)