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

Method remove

corpus/java/training/guava/collect/HashBiMap.java:562–573  ·  view source on GitHub ↗
(@Nullable Object value)

Source from the content-addressed store, hash-verified

560 }
561
562 @Override
563 public K remove(@Nullable Object value) {
564 BiEntry<K, V> entry = seekByValue(value, smearedHash(value));
565 if (entry == null) {
566 return null;
567 } else {
568 delete(entry);
569 entry.prevInKeyInsertionOrder = null;
570 entry.nextInKeyInsertionOrder = null;
571 return entry.key;
572 }
573 }
574
575 @Override
576 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