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