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

Method containsKey

output/java_guava/1.4.13/LocalCache.java:4153–4161  ·  view source on GitHub ↗
(@Nullable Object key)

Source from the content-addressed store, hash-verified

4151 }
4152
4153 @Override
4154 public boolean containsKey(@Nullable Object key) {
4155 // does not impact recency ordering
4156 if (key == null) {
4157 return false;
4158 }
4159 int hash = hash(key);
4160 return segmentFor(hash).containsKey(key, hash);
4161 }
4162
4163 @Override
4164 public boolean containsValue(@Nullable Object value) {

Callers

nothing calls this directly

Calls 3

hashMethod · 0.65
containsKeyMethod · 0.65
segmentForMethod · 0.45

Tested by

no test coverage detected