MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / binarySearch

Method binarySearch

Ports/CLDC11/src/java/util/Arrays.java:163–165  ·  view source on GitHub ↗
(byte[] array, byte value)

Source from the content-addressed store, hash-verified

161 /// @return the non-negative index of the element, or a negative index which
162 /// is `-index - 1` where the element would be inserted.
163 public static int binarySearch(byte[] array, byte value) {
164 return binarySearch(array, 0, array.length, value);
165 }
166
167 /// Performs a binary search for the specified element in the specified
168 /// sorted array.

Callers

nothing calls this directly

Calls 6

doubleToLongBitsMethod · 0.95
lessThanMethod · 0.95
floatToIntBitsMethod · 0.95
compareToMethod · 0.65
compareMethod · 0.65

Tested by

no test coverage detected