org.jcon.util
Interface ArraySorter.Comparer

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); }


Method Summary
 int compare(java.lang.Object a, java.lang.Object b)
           
 

Method Detail

compare

int compare(java.lang.Object a,
            java.lang.Object b)