public class QuickSort
extends java.lang.Object
All of QuickSort's variables and methods are static.
| Constructor and Description |
|---|
QuickSort() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(java.lang.String[] argv) |
static int[] |
sort(double[] a)
Sort the array in place and return an array of the
orginal indices.
|
static int[] |
sort(double[] a,
int start,
int stop)
Sort the array in place and return an array of the
orginal indices.
|
static int[] |
sort(float[] a)
Sort the array in place and return an array of the
orginal indices.
|
static int[] |
sort(float[] a,
int start,
int stop)
Sort the array in place and return an array of the
orginal indices.
|
public static int[] sort(float[] a)
throws VisADException
a - array of floats to sortVisADExceptionpublic static int[] sort(double[] a)
throws VisADException
a - array of doubles to sortVisADExceptionpublic static int[] sort(float[] a,
int start,
int stop)
throws VisADException
a - array of floats to sortstart - to stop (inclusive)VisADExceptionpublic static int[] sort(double[] a,
int start,
int stop)
throws VisADException
a - array of doubles to sortstart - to stop (inclusive)VisADExceptionpublic static void main(java.lang.String[] argv)
throws VisADException
VisADException