Colt 1.0.3

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 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 GenericSorting.rotate(int first, int middle, int last, Swapper swapper)
          See jal.DOUBLE.Sorting Rotate a range in place: array[middle] is put in array[first], array[middle+1] is put in array[first+1], etc.
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 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]].
 


Colt 1.0.3

Submit a bug or feature. Check the Colt home page for the latest news.