APTCONVERT 1.1

fr.pixware.util
Interface QuickSort.Compare

All Known Implementing Classes:
QuickSort.StringCompare
Enclosing class:
QuickSort

public static interface QuickSort.Compare

Interface implemented by comparators, that is, objects able to compare two objects.


Method Summary
 int compare(java.lang.Object o1, java.lang.Object o2)
          Compares two objects o1 and o2.
 

Method Detail

compare

int compare(java.lang.Object o1,
            java.lang.Object o2)
Compares two objects o1 and o2.

Parameters:
o1 - the object to be compared to o2
o2 - the object to be compared to o1
Returns:
a negative integer, zero, or a positive integer as o1 is less than, equal to, or greater than o2

APTCONVERT 1.1