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

Method copyEntry

output/java_guava/1.4.19/LocalCache.java:1899–1903  ·  view source on GitHub ↗
(ReferenceEntry<K, V> original, ReferenceEntry<K, V> newNext)

Source from the content-addressed store, hash-verified

1897 // Guarded By Segment.this
1898
1899 @VisibleForTesting
1900 ReferenceEntry<K, V> copyEntry(ReferenceEntry<K, V> original, ReferenceEntry<K, V> newNext) {
1901 int hash = original.getHash();
1902 return segmentFor(hash).copyEntry(original, newNext);
1903 }
1904
1905 /**
1906 * This method is a convenience for testing. Code should call {@link Segment#setValue} instead.

Callers 2

copyEntryMethod · 0.45
copyEntryMethod · 0.45

Calls 2

segmentForMethod · 0.95
getHashMethod · 0.65

Tested by

no test coverage detected