|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectvisad.QuickSort
public class QuickSort
QuickSort sorts a set of samples in R using a quicksort algorithm combined with an insertion sort algorithm to avoid an excess number of recursive calls.
All of QuickSort's variables and methods are static.
| Constructor Summary | |
|---|---|
QuickSort()
|
|
| Method Summary | |
|---|---|
static void |
main(java.lang.String[] argv)
|
static int[] |
sort(double[] a)
|
static int[] |
sort(float[] a)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public QuickSort()
| Method Detail |
|---|
public static int[] sort(float[] a)
throws VisADException
VisADException
public static int[] sort(double[] a)
throws VisADException
VisADException
public static void main(java.lang.String[] argv)
throws VisADException
VisADException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||