public static interface BinarySearch.IndexedComparator<T>
int[]
that contains
sorted indexes into the array-like structure.Modifier and Type | Method and Description |
---|---|
int |
compare(T value,
int index)
Compares an explicit value against the value at a given location in
the array-like structure.
|
int compare(T value, int index)