jd.util
Class Quicksort
java.lang.Object
jd.util.Quicksort
- public class Quicksort
- extends Object
A Quicksort implementation.
Method Summary |
static void |
sort(Comparator comparator,
Object[] objects)
Sort the array using the given comparator. |
static void |
sort(Comparator comparator,
Object[] objects,
int lb,
int ub)
Sort the array using the given comparator. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Quicksort
public Quicksort()
sort
public static void sort(Comparator comparator,
Object[] objects)
- Sort the array using the given comparator.
sort
public static void sort(Comparator comparator,
Object[] objects,
int lb,
int ub)
- Sort the array using the given comparator.