Uses of Interface
cern.colt.Swapper
Packages that use Swapper
Package
Description
Core base classes; Operations on primitive arrays such as sorting, partitioning and permuting.
Double matrix algorithms such as print formatting, sorting, partitioning and statistics.
Object matrix algorithms such as print formatting, sorting, partitioning and statistics.
-
Uses of Swapper in cern.colt
Modifier and TypeMethodDescriptionstatic voidPartitioning.genericPartition(int from, int to, int splitFrom, int splitTo, int[] splitIndexes, IntComparator comp, IntComparator comp2, IntComparator comp3, Swapper swapper) Same asPartitioning.partition(int[],int,int,int[],int,int,int[])except that it generically partitions arbitrary shaped data (for example matrices or multiple arrays) rather than int[] arrays.private static intPartitioning.genericPartition(int from, int to, int splitter, IntComparator comp, Swapper swapper) Same asPartitioning.partition(int[],int,int,int)except that it generically partitions arbitrary shaped data (for example matrices or multiple arrays) rather than int[] arrays.private static voidGenericSorting.inplace_merge(int first, int middle, int last, IntComparator comp, Swapper swapper) Transforms two consecutive sorted ranges into a single sorted range.static voidGenericSorting.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 voidDeprecated.static voidGenerically reorders arbitrary shaped generic data g such that g[i] == g[indexes[i]].static voidGenericSorting.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 voidGenericSorting.quickSort1(int off, int len, IntComparator comp, Swapper swapper) Sorts the specified sub-array into ascending order.private static voidReverses a sequence of elements.private static voidRotate a range in place:array[middle]is put inarray[first],array[middle+1]is put inarray[first+1], etc.private static voidSwaps x[a .. -
Uses of Swapper in cern.colt.matrix.doublealgo
Methods in cern.colt.matrix.doublealgo with parameters of type SwapperModifier and TypeMethodDescriptionprotected voidSorting.runSort(int fromIndex, int toIndex, IntComparator c, Swapper swapper) -
Uses of Swapper in cern.colt.matrix.objectalgo
Methods in cern.colt.matrix.objectalgo with parameters of type SwapperModifier and TypeMethodDescriptionprotected voidSorting.runSort(int fromIndex, int toIndex, IntComparator c, Swapper swapper)