static void |
Partitioning.genericPartition(int from,
int to,
int splitFrom,
int splitTo,
int[] splitIndexes,
IntComparator comp,
IntComparator comp2,
IntComparator comp3,
Swapper swapper) |
|
private static int |
Partitioning.genericPartition(int from,
int to,
int splitter,
IntComparator comp,
Swapper swapper) |
|
private static void |
GenericSorting.inplace_merge(int first,
int middle,
int last,
IntComparator comp,
Swapper swapper) |
Transforms two consecutive sorted ranges into a single sorted
range.
|
static void |
GenericSorting.mergeSort(int fromIndex,
int toIndex,
IntComparator c,
Swapper swapper) |
Sorts the specified range of elements according
to the order induced by the specified comparator.
|
static void |
GenericPermuting.permute(int[] indexes,
Swapper swapper,
int[] work) |
Deprecated.
|
static void |
GenericPermuting.permute(int[] indexes,
Swapper swapper,
int[] work1,
int[] work2) |
Generically reorders arbitrary shaped generic data g such that g[i] == g[indexes[i]].
|
static void |
GenericSorting.quickSort(int fromIndex,
int toIndex,
IntComparator c,
Swapper swapper) |
Sorts the specified range of elements according
to the order induced by the specified comparator.
|
private static void |
GenericSorting.quickSort1(int off,
int len,
IntComparator comp,
Swapper swapper) |
Sorts the specified sub-array into ascending order.
|
private static void |
GenericSorting.reverse(int first,
int last,
Swapper swapper) |
Reverses a sequence of elements.
|
private static void |
GenericSorting.rotate(int first,
int middle,
int last,
Swapper swapper) |
Rotate a range in place: array[middle] is put in
array[first] , array[middle+1] is put in
array[first+1] , etc.
|
private static void |
GenericSorting.vecswap(Swapper swapper,
int a,
int b,
int n) |
Swaps x[a ..
|