MCPcopy Index your code
hub / github.com/golang/mobile / get

Method get

bind/java/Seq.java:308–314  ·  view source on GitHub ↗
(int key)

Source from the content-addressed store, hash-verified

306 RefMap() {}
307
308 Ref get(int key) {
309 int i = Arrays.binarySearch(keys, 0, next, key);
310 if (i >= 0) {
311 return objs[i];
312 }
313 return null;
314 }
315
316 void remove(int key) {
317 int i = Arrays.binarySearch(keys, 0, next, key);

Callers 8

getRuneMethod · 0.45
getRefMethod · 0.45
incMethod · 0.45
incRefnumMethod · 0.45
decMethod · 0.45
getMethod · 0.45
runDirectMethod · 0.45
runMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected