jd.util
Class Quicksort

java.lang.Object
  extended byjd.util.Quicksort

public class Quicksort
extends Object

A Quicksort implementation.


Constructor Summary
Quicksort()
           
 
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
 

Constructor Detail

Quicksort

public Quicksort()
Method Detail

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.