All Packages Class Hierarchy This Package Previous Next Index
Interface jclass.util.JCSortInterface
- public interface JCSortInterface
JCSortInterface defines the interface for sorting, used by JCqsort.
It provides a similar functionality to the compare function in qsort.
- See Also:
- JCqsort
-
compare(Object, Object)
- Called by JCqsort during sorting.
compare
public abstract boolean compare(Object object1,
Object object2)
- Called by JCqsort during sorting.
- Parameters:
- object1,object2 - the objects to be compared
- Returns:
- true if object1 is greater than object2
- See Also:
- lt, gt
All Packages Class Hierarchy This Package Previous Next Index