Uses of Interface
cern.colt.function.ShortComparator

Packages that use ShortComparator
Package
Description
Core base classes; Operations on primitive arrays such as sorting, partitioning and permuting.
Resizable lists holding objects or primitive data types such as int, double, etc.
  • Uses of ShortComparator in cern.colt

    Methods in cern.colt with parameters of type ShortComparator
    Modifier and Type
    Method
    Description
    private static int
    Sorting.med3(short[] x, int a, int b, int c, ShortComparator comp)
    Returns the index of the median of the three indexed chars.
    static void
    Sorting.mergeSort(short[] a, int fromIndex, int toIndex, ShortComparator c)
    Sorts the specified range of the specified array of elements according to the order induced by the specified comparator.
    private static void
    Sorting.mergeSort1(short[] src, short[] dest, int low, int high, ShortComparator c)
     
    static void
    Sorting.quickSort(short[] a, int fromIndex, int toIndex, ShortComparator c)
    Sorts the specified range of the specified array of elements according to the order induced by the specified comparator.
    private static void
    Sorting.quickSort1(short[] x, int off, int len, ShortComparator comp)
    Sorts the specified sub-array of chars into ascending order.
  • Uses of ShortComparator in cern.colt.list

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