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

Method remove

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

Source from the content-addressed store, hash-verified

314 }
315
316 void remove(int key) {
317 int i = Arrays.binarySearch(keys, 0, next, key);
318 if (i >= 0) {
319 if (objs[i] != null) {
320 objs[i] = null;
321 live--;
322 }
323 }
324 }
325
326 void put(int key, Ref obj) {
327 if (obj == null) {

Callers 3

testRefMapMethod · 0.95
decMethod · 0.80
runMethod · 0.80

Calls

no outgoing calls

Tested by 1

testRefMapMethod · 0.76