Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Colt 1.2.0
PREV NEXT | FRAMES NO FRAMES

## Uses of Interface
cern.colt.Swapper

Packages that use Swapper
cern.colt | Core base classes; Operations on primitive arrays such as sorting, partitioning and permuting.

Uses of Swapper in cern.colt

Methods in cern.colt with parameters of type Swapper
`static void` | `Partitioning.genericPartition(int from, int to, int splitFrom, int splitTo, int[] splitIndexes, IntComparator comp, IntComparator comp2, IntComparator comp3, Swapper swapper)` Same as `Partitioning.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.
`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` | `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.
`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]]`.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Colt 1.2.0
PREV NEXT | FRAMES NO FRAMES

Jump to the Colt Homepage