MCPcopy
hub / github.com/google/guava / newEntry

Method newEntry

guava/src/com/google/common/cache/LocalCache.java:2001–2004  ·  view source on GitHub ↗
(K key, int hash, @Nullable ReferenceEntry<K, V> next)

Source from the content-addressed store, hash-verified

1999 }
2000
2001 @GuardedBy("this")
2002 ReferenceEntry<K, V> newEntry(K key, int hash, @Nullable ReferenceEntry<K, V> next) {
2003 return map.entryFactory.newEntry(this, checkNotNull(key), hash, next);
2004 }
2005
2006 /**
2007 * Copies {@code original} into a new entry chained to {@code newNext}. Returns the new entry,

Callers 5

lockedGetOrLoadMethod · 0.95
computeMethod · 0.95
putMethod · 0.95
storeLoadedValueMethod · 0.95

Calls 2

newEntryMethod · 0.65
checkNotNullMethod · 0.45

Tested by

no test coverage detected