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

Method remove

output/java_guava/1.4.17/HashBiMap.java:347–359  ·  view source on GitHub ↗
(@Nullable Object key)

Source from the content-addressed store, hash-verified

345 }
346
347 @CanIgnoreReturnValue
348 @Override
349 public V remove(@Nullable Object key) {
350 BiEntry<K, V> entry = seekByKey(key, smearedHash(key));
351 if (entry == null) {
352 return null;
353 } else {
354 delete(entry);
355 entry.prevInKeyInsertionOrder = null;
356 entry.nextInKeyInsertionOrder = null;
357 return entry.value;
358 }
359 }
360
361 @Override
362 public void clear() {

Callers

nothing calls this directly

Calls 3

seekByKeyMethod · 0.95
deleteMethod · 0.95
smearedHashMethod · 0.80

Tested by

no test coverage detected