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

Method remove

corpus/java/training/guava/collect/HashBiMap.java:451–462  ·  view source on GitHub ↗
(@Nullable Object o)

Source from the content-addressed store, hash-verified

449 }
450
451 @Override
452 public boolean remove(@Nullable Object o) {
453 BiEntry<K, V> entry = seekByKey(o, smearedHash(o));
454 if (entry == null) {
455 return false;
456 } else {
457 delete(entry);
458 entry.prevInKeyInsertionOrder = null;
459 entry.nextInKeyInsertionOrder = null;
460 return true;
461 }
462 }
463 }
464
465 @Override

Callers

nothing calls this directly

Calls 3

smearedHashMethod · 0.80
seekByKeyMethod · 0.45
deleteMethod · 0.45

Tested by

no test coverage detected