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

Method getOrDefault

output/java_guava/1.4.19/LocalCache.java:4010–4014  ·  view source on GitHub ↗
(@Nullable Object key, @Nullable V defaultValue)

Source from the content-addressed store, hash-verified

4008 // @Override
4009
4010 @Nullable
4011 public V getOrDefault(@Nullable Object key, @Nullable V defaultValue) {
4012 V result = get(key);
4013 return (result != null) ? result : defaultValue;
4014 }
4015
4016 V get(K key, CacheLoader<? super K, V> loader) throws ExecutionException {
4017 int hash = hash(checkNotNull(key));

Callers

nothing calls this directly

Calls 1

getMethod · 0.95

Tested by

no test coverage detected