static class PartialSortTest.Item extends Object
Modifier and Type | Field and Description |
---|---|
(package private) static Comparator<PartialSortTest.Item> |
byIndex |
(package private) static Comparator<PartialSortTest.Item> |
byKey |
(package private) int |
index |
(package private) int |
key |
Constructor and Description |
---|
Item(int index,
int key) |
Modifier and Type | Method and Description |
---|---|
(package private) static boolean |
isStablySorted(PartialSortTest.Item[] vec,
int limit,
boolean desc) |
final int index
final int key
static final Comparator<PartialSortTest.Item> byIndex
static final Comparator<PartialSortTest.Item> byKey
static boolean isStablySorted(PartialSortTest.Item[] vec, int limit, boolean desc)