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

Method put

output/java_guava/1.4.13/LocalCache.java:4203–4209  ·  view source on GitHub ↗
(K key, V value)

Source from the content-addressed store, hash-verified

4201 }
4202
4203 @Override
4204 public V put(K key, V value) {
4205 checkNotNull(key);
4206 checkNotNull(value);
4207 int hash = hash(key);
4208 return segmentFor(hash).put(key, hash, value, false);
4209 }
4210
4211 @Override
4212 public V putIfAbsent(K key, V value) {

Callers

nothing calls this directly

Calls 4

hashMethod · 0.65
putMethod · 0.65
checkNotNullMethod · 0.45
segmentForMethod · 0.45

Tested by

no test coverage detected