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