MCPcopy Create free account
hub / github.com/dhale/jtk / binarySearch

Method binarySearch

core/src/main/java/edu/mines/jtk/util/ArrayMath.java:10043–10045  ·  view source on GitHub ↗

Performs a binary search in a monotonic array of values. Values are assumed to increase or decrease monotonically, with no equal values. Warning: this method does not ensure that the specified array is monotonic; that check would be more costly than this search. @param a the array of values, ass

(byte[] a, byte x)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 11

checkSearchMethod · 0.80
nfftValidMethod · 0.80
nfftSmallMethod · 0.80
nfftFastMethod · 0.80
indexOfMethod · 0.80
indexOfNearestMethod · 0.80
indexMethod · 0.80
indexMethod · 0.80
indexMethod · 0.80
indexMethod · 0.80
indexMethod · 0.80

Calls

no outgoing calls

Tested by 1

checkSearchMethod · 0.64