All Packages Class Hierarchy This Package Previous Next Index
Class org.dorm4.util.Sorter
java.lang.Object
|
+----org.dorm4.util.Sorter
- public class Sorter
- extends Object
-
Sorter()
-
-
sort(Object[], int, int, boolean, IComparer)
- This is the main sort() routine.
Sorter
public Sorter()
sort
public static void sort(Object data[],
int from,
int to,
boolean up,
IComparer c)
- This is the main sort() routine. It performs a quicksort on the elements
of array a between the element from and the element to. The up argument
specifies whether the elements should be sorted into ascending (true) or
descending (false) order. The IComparer argument c is used to perform
comparisons between elements of the array.
All Packages Class Hierarchy This Package Previous Next Index