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

Method containsKey

output/java_guava/1.4.19/LocalCache.java:4170–4179  ·  view source on GitHub ↗
(@Nullable Object key)

Source from the content-addressed store, hash-verified

4168 }
4169
4170 @Override
4171 public boolean containsKey(@Nullable Object key) {
4172 // does not impact recency ordering
4173 if (key == null) {
4174 return false;
4175 }
4176
4177 int hash = hash(key);
4178 return segmentFor(hash).containsKey(key, hash);
4179 }
4180
4181 @Override
4182 public boolean containsValue(@Nullable Object value) {

Callers

nothing calls this directly

Calls 3

hashMethod · 0.95
segmentForMethod · 0.95
containsKeyMethod · 0.65

Tested by

no test coverage detected