public class Sort extends Object
| Constructor and Description |
|---|
Sort() |
| Modifier and Type | Method and Description |
|---|---|
static void |
checkPartition(int[] order,
double[] values,
double pivotValue,
int start,
int low,
int high,
int end)
Check that a partition step was done correctly.
|
static void |
sort(int[] order,
double[] values)
Quick sort using an index array.
|
static void |
sort(int[] order,
double[] values,
int n)
Quick sort using an index array.
|
public static void sort(int[] order,
double[] values)
order - Indexes into valuesvalues - The values to sort.public static void sort(int[] order,
double[] values,
int n)
order - Indexes into valuesvalues - The values to sort.n - The number of values to sortpublic static void checkPartition(int[] order,
double[] values,
double pivotValue,
int start,
int low,
int high,
int end)
Copyright © 2015. All rights reserved.