Package | Description |
---|---|
com.uwyn.jhighlight.fastutil.chars |
Modifier and Type | Method and Description |
---|---|
static int |
CharArrays.binarySearch(char[] a,
char key,
CharComparator c)
Searches an array for the specified value using
the binary search algorithm and a specified comparator.
|
static int |
CharArrays.binarySearch(char[] a,
int from,
int to,
char key,
CharComparator c)
Searches a range of the specified array for the specified value using
the binary search algorithm and a specified comparator.
|
static void |
CharArrays.mergeSort(char[] a,
CharComparator comp)
Sorts an array according to the order induced by the specified
comparator using mergesort.
|
static void |
CharArrays.mergeSort(char[] a,
int from,
int to,
CharComparator comp)
Sorts the specified range of elements according to the order induced by the specified
comparator using mergesort.
|
static void |
CharArrays.mergeSort(char[] a,
int from,
int to,
CharComparator comp,
char[] supp)
Sorts the specified range of elements according to the order induced by the specified
comparator using mergesort, using a given pre-filled support array.
|
static void |
CharArrays.quickSort(char[] x,
CharComparator comp)
Sorts an array according to the order induced by the specified
comparator using quicksort.
|
static void |
CharArrays.quickSort(char[] x,
int from,
int to,
CharComparator comp)
Sorts the specified range of elements according to the order induced by the specified
comparator using quicksort.
|
Copyright © 2011–2020. All rights reserved.