MCPcopy Index your code
hub / github.com/antlr/codebuff / get

Method get

corpus/java/training/guava/cache/Cache.java:99–99  ·  view source on GitHub ↗

Returns the value associated with key in this cache, obtaining that value from loader if necessary. The method improves upon the conventional "if cached, return; otherwise create, cache and return" pattern. For further improvements, use LoadingCache and its {@link LoadingCach

(K key, Callable<? extends V> loader)

Source from the content-addressed store, hash-verified

97 * @since 11.0
98 */
99 V get(K key, Callable<? extends V> loader) throws ExecutionException;
100
101 /**
102 * Returns a map of the values associated with {@code keys} in this cache. The returned map will

Callers 15

toStringMethod · 0.65
getMethod · 0.65
getPropertyMethod · 0.65
findMemberMethod · 0.65
getMethod · 0.65
openMethod · 0.65
valueChangedMethod · 0.65
updateCurrentSTMethod · 0.65
setTextMethod · 0.65
nextMethod · 0.65
getPropertyMethod · 0.65

Implementers 12

LocalManualCacheoutput/java_guava/1.4.17/LocalCache.ja
ForwardingCacheoutput/java_guava/1.4.17/ForwardingCac
LocalManualCacheoutput/java_guava/1.4.13/LocalCache.ja
ForwardingCacheoutput/java_guava/1.4.13/ForwardingCac
LocalManualCacheoutput/java_guava/1.4.19/LocalCache.ja
ForwardingCacheoutput/java_guava/1.4.19/ForwardingCac
LocalManualCacheoutput/java_guava/1.4.16/LocalCache.ja
ForwardingCacheoutput/java_guava/1.4.16/ForwardingCac
LocalManualCacheoutput/java_guava/1.4.18/LocalCache.ja
ForwardingCacheoutput/java_guava/1.4.18/ForwardingCac
LocalManualCachecorpus/java/training/guava/cache/Local
ForwardingCachecorpus/java/training/guava/cache/Forwa

Calls

no outgoing calls

Tested by 4

createBitsetsMethod · 0.52
mainMethod · 0.52
writePythonMethod · 0.52
scoreDocumentsMethod · 0.52