## Uses of Interface
cern.colt.function.DoubleComparator

- Packages that use DoubleComparator
  Package | Description
  --- | ---
  cern.colt | Core base classes; Operations on primitive arrays such as sorting, partitioning and permuting.
  cern.colt.list | Resizable lists holding objects or primitive data types such as `int`, `double`, etc.
  cern.colt.matrix.doublealgo | Double matrix algorithms such as print formatting, sorting, partitioning and statistics.

- - ### Uses of DoubleComparator in cern.colt

    Methods in cern.colt with parameters of type DoubleComparator
    Modifier and Type | Method and Description
    --- | ---
    `static void` | Sorting.`mergeSort(double[] a, int fromIndex, int toIndex, DoubleComparator c)` Sorts the specified range of the specified array of elements according to the order induced by the specified comparator.
    `static void` | Sorting.`quickSort(double[] a, int fromIndex, int toIndex, DoubleComparator c)` Sorts the specified range of the specified array of elements according to the order induced by the specified comparator.

  - ### Uses of DoubleComparator in cern.colt.list

    Methods in cern.colt.list with parameters of type DoubleComparator
    Modifier and Type | Method and Description
    --- | ---
    `void` | AbstractDoubleList.`mergeSortFromTo(int from, int to, DoubleComparator c)` Sorts the receiver according to the order induced by the specified comparator.
    `void` | AbstractDoubleList.`quickSortFromTo(int from, int to, DoubleComparator c)` Sorts the receiver according to the order induced by the specified comparator.

  - ### Uses of DoubleComparator in cern.colt.matrix.doublealgo

    Methods in cern.colt.matrix.doublealgo with parameters of type DoubleComparator
    Modifier and Type | Method and Description
    --- | ---
    `DoubleMatrix1D` | Sorting.`sort(DoubleMatrix1D vector, DoubleComparator c)` Sorts the vector into ascending order, according to the order induced by the specified comparator.

Jump to the Colt Homepage