Uses of Interface
cern.colt.function.IntComparator
Packages that use IntComparator
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.
Double matrix algorithms such as print formatting, sorting, partitioning and statistics.
Object matrix algorithms such as print formatting, sorting, partitioning and statistics.
-
Uses of IntComparator in cern.colt
Methods in cern.colt with parameters of type IntComparatorModifier and TypeMethodDescriptionprivate static intPartitioning.binarySearchFromTo(int a, int from, int to, IntComparator comp) Finds the given key "a" within some generic data using the binary search algorithm.static intSorting.binarySearchFromTo(int from, int to, IntComparator comp) Generically searches the list for the specified value using the binary search algorithm.static voidPartitioning.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 intPartitioning.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 voidGenericSorting.inplace_merge(int first, int middle, int last, IntComparator comp, Swapper swapper) Transforms two consecutive sorted ranges into a single sorted range.private static intGenericSorting.lower_bound(int first, int last, int x, IntComparator comp) Performs a binary search on an already-sorted range: finds the first position where an element can be inserted without violating the ordering.private static intGenericSorting.med3(int a, int b, int c, IntComparator comp) Returns the index of the median of the three indexed chars.private static intPartitioning.med3(int a, int b, int c, IntComparator comp) Returns the index of the median of the three indexed chars.private static intSorting.med3(int[] x, int a, int b, int c, IntComparator comp) Returns the index of the median of the three indexed chars.static voidGenericSorting.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 voidSorting.mergeSort(int[] a, int fromIndex, int toIndex, IntComparator c) Sorts the specified range of the specified array of elements according to the order induced by the specified comparator.private static voidSorting.mergeSort1(int[] src, int[] dest, int low, int high, IntComparator c) static voidGenericSorting.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 voidSorting.quickSort(int[] a, int fromIndex, int toIndex, IntComparator c) Sorts the specified range of the specified array of elements according to the order induced by the specified comparator.private static voidGenericSorting.quickSort1(int off, int len, IntComparator comp, Swapper swapper) Sorts the specified sub-array into ascending order.private static voidSorting.quickSort1(int[] x, int off, int len, IntComparator comp) Sorts the specified sub-array of chars into ascending order.private static intGenericSorting.upper_bound(int first, int last, int x, IntComparator comp) Performs a binary search on an already-sorted range: finds the last position where an element can be inserted without violating the ordering. -
Uses of IntComparator in cern.colt.list
Methods in cern.colt.list with parameters of type IntComparatorModifier and TypeMethodDescriptionvoidAbstractIntList.mergeSortFromTo(int from, int to, IntComparator c) Sorts the receiver according to the order induced by the specified comparator.voidAbstractIntList.quickSortFromTo(int from, int to, IntComparator c) Sorts the receiver according to the order induced by the specified comparator. -
Uses of IntComparator in cern.colt.matrix.doublealgo
Methods in cern.colt.matrix.doublealgo with parameters of type IntComparatorModifier and TypeMethodDescriptionprotected voidSorting.runSort(int[] a, int fromIndex, int toIndex, IntComparator c) protected voidSorting.runSort(int fromIndex, int toIndex, IntComparator c, Swapper swapper) -
Uses of IntComparator in cern.colt.matrix.objectalgo
Methods in cern.colt.matrix.objectalgo with parameters of type IntComparatorModifier and TypeMethodDescriptionprotected voidSorting.runSort(int[] a, int fromIndex, int toIndex, IntComparator c) protected voidSorting.runSort(int fromIndex, int toIndex, IntComparator c, Swapper swapper)