Util
object Util
Value members
Concrete methods
The index i in candidates.indices such that candidates(i) <= x and
candidates(i) is closest to x, determined by binary search, or -1
if x < candidates(0).
The index i in candidates.indices such that candidates(i) <= x and
candidates(i) is closest to x, determined by binary search, or -1
if x < candidates(0).
- Value Params
- hint
If between 0 and
candidates.lengthuse this as the first search point, otherwise usecandidates.length/2.