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

Method remove

output/java_guava/1.4.17/Maps.java:875–885  ·  view source on GitHub ↗
(@Nullable Object key)

Source from the content-addressed store, hash-verified

873 }
874
875 @Override
876 public V remove(@Nullable Object key) {
877 if (backingSet().remove(key)) {
878
879 @SuppressWarnings("unchecked") // unsafe, but Javadoc warns about it
880 K k = (K) key;
881 return function.apply(k);
882 } else {
883 return null;
884 }
885 }
886
887 @Override
888 public void clear() {

Callers

nothing calls this directly

Calls 3

backingSetMethod · 0.95
removeMethod · 0.65
applyMethod · 0.65

Tested by

no test coverage detected