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 void
Partitioning.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 int
Partitioning.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 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
Deprecated.static void
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
Reverses a sequence of elements.private static void
Rotate a range in place:array[middle]
is put inarray[first]
,array[middle+1]
is put inarray[first+1]
, etc.private static void
Swaps x[a .. -
Uses of Swapper in cern.colt.matrix.doublealgo
Methods in cern.colt.matrix.doublealgo with parameters of type SwapperModifier and TypeMethodDescriptionprotected void
Sorting.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 void
Sorting.runSort
(int fromIndex, int toIndex, IntComparator c, Swapper swapper)