public static interface BinarySearch.Accessor<T>
start()
and
end()
.
It is intended to be compatible with the like-named interface defined by
InplaceSort
, allowing a single implementation class for both.
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 |
end()
The maximum bound of the search (exclusive).
|
int |
start()
The minimum bound of the search (inclusive).
|
int start()
int end()
int compare(T value, int index)