MCPcopy Index your code
hub / github.com/antlr/codebuff / remove

Method remove

output/java_guava/1.4.17/HashBiMap.java:547–558  ·  view source on GitHub ↗
(@Nullable Object value)

Source from the content-addressed store, hash-verified

545 }
546
547 @Override
548 public K remove(@Nullable Object value) {
549 BiEntry<K, V> entry = seekByValue(value, smearedHash(value));
550 if (entry == null) {
551 return null;
552 } else {
553 delete(entry);
554 entry.prevInKeyInsertionOrder = null;
555 entry.nextInKeyInsertionOrder = null;
556 return entry.key;
557 }
558 }
559
560 @Override
561 public BiMap<K, V> inverse() {

Callers

nothing calls this directly

Calls 3

smearedHashMethod · 0.80
seekByValueMethod · 0.45
deleteMethod · 0.45

Tested by

no test coverage detected