| Package | Description |
|---|---|
| net.mintern.primitive |
| Modifier and Type | Method and Description |
|---|---|
static int |
Primitive.binarySearch(double[] a,
double key,
DoubleComparator c)
Searches the specified array for the specified
key using the binary
search algorithm. |
static int |
Primitive.binarySearch(double[] a,
int fromIndex,
int toIndex,
double key,
DoubleComparator c)
Searches a range of
the specified array for the specified
key using the binary
search algorithm. |
static void |
Primitive.sort(double[] a,
DoubleComparator c)
Sorts the given array by the given comparator.
|
static void |
Primitive.sort(double[] a,
DoubleComparator c,
boolean stable)
Sorts the given array by the given comparator.
|
static void |
Primitive.sort(double[] a,
int fromIndex,
int toIndex,
DoubleComparator c)
Sorts the indicated portion of the given array by the given comparator.
|
static void |
Primitive.sort(double[] a,
int fromIndex,
int toIndex,
DoubleComparator c,
boolean stable)
Sorts the indicated portion of the given array by the given comparator.
|
Copyright © 2021. All rights reserved.