MCPcopy Create free account
hub / github.com/antlr/codebuff / remove

Method remove

output/java_guava/1.4.17/HashBiMap.java:436–447  ·  view source on GitHub ↗
(@Nullable Object o)

Source from the content-addressed store, hash-verified

434 }
435
436 @Override
437 public boolean remove(@Nullable Object o) {
438 BiEntry<K, V> entry = seekByKey(o, smearedHash(o));
439 if (entry == null) {
440 return false;
441 } else {
442 delete(entry);
443 entry.prevInKeyInsertionOrder = null;
444 entry.nextInKeyInsertionOrder = null;
445 return true;
446 }
447 }
448 }
449
450 @Override

Callers

nothing calls this directly

Calls 3

smearedHashMethod · 0.80
seekByKeyMethod · 0.45
deleteMethod · 0.45

Tested by

no test coverage detected