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

Method remove

corpus/java/training/guava/cache/LocalCache.java:4282–4289  ·  view source on GitHub ↗
(@Nullable Object key)

Source from the content-addressed store, hash-verified

4280 }
4281
4282 @Override
4283 public V remove(@Nullable Object key) {
4284 if (key == null) {
4285 return null;
4286 }
4287 int hash = hash(key);
4288 return segmentFor(hash).remove(key, hash);
4289 }
4290
4291 @Override
4292 public boolean remove(@Nullable Object key, @Nullable Object value) {

Callers 1

invalidateAllMethod · 0.95

Calls 3

hashMethod · 0.95
segmentForMethod · 0.95
removeMethod · 0.65

Tested by

no test coverage detected