- All Known Implementing Classes:
- ArraySorter.ASCIIComparer
- Enclosing class:
- ArraySorter
public static interface ArraySorter.Comparer
The interface implementation should compare the two objects and return an
int using these rules: if (a > b) return > 0; if (a == b) return 0; if (a
< b) return < 0;
For example to sort a String array: ClassName implements
ArraySorter.Comparer
public int compare(Object a, Object b) { return (the proper int); }