public class QuickSort extends Object
All of QuickSort's variables and methods are static.
Constructor and Description |
---|
QuickSort() |
Modifier and Type | Method and Description |
---|---|
static void |
main(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 sortVisADException
public static int[] sort(double[] a) throws VisADException
a
- array of doubles to sortVisADException
public static int[] sort(float[] a, int start, int stop) throws VisADException
a
- array of floats to sortstart
- to stop (inclusive)VisADException
public static int[] sort(double[] a, int start, int stop) throws VisADException
a
- array of doubles to sortstart
- to stop (inclusive)VisADException
public static void main(String[] argv) throws VisADException
VisADException
Copyright © 1996–2023 The SSEC Visualization Project. All rights reserved.