public abstract class QuickSort
extends java.lang.Object
| Constructor | Description |
|---|---|
QuickSort() |
| Modifier and Type | Method | Description |
|---|---|---|
static void |
sort(Sortable a,
int lo0,
int hi0) |
This is a generic version of C.A.R Hoare's Quick Sort
algorithm.
|
public static void sort(Sortable a, int lo0, int hi0)
a - a Sortable objectlo0 - index of first element (initially typically 0)hi0 - index of last element (initially typically length-1)