MCPcopy Create free account
hub / github.com/SPLWare/esProc / binarySearch

Method binarySearch

src/main/java/com/scudata/dm/ListBase1.java:162–164  ·  view source on GitHub ↗

二分法查找指定元素 @param elem Object @param comparator Comparator @return int 元素的索引,如果不存在返回负的插入位置.

(Object elem, Comparator<Object> comparator)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

firstIndexOfMethod · 0.95
lastIndexOfMethod · 0.95
pminMethod · 0.95

Calls 3

sizeMethod · 0.95
compareMethod · 0.95
compareMethod · 0.45

Tested by

no test coverage detected