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

Method copyEntry

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

Source from the content-addressed store, hash-verified

1890 // Guarded By Segment.this
1891
1892 @VisibleForTesting
1893 ReferenceEntry<K, V> copyEntry(ReferenceEntry<K, V> original, ReferenceEntry<K, V> newNext) {
1894 int hash = original.getHash();
1895 return segmentFor(hash).copyEntry(original, newNext);
1896 }
1897
1898 /**
1899 * This method is a convenience for testing. Code should call {@link Segment#setValue} instead.

Callers 2

copyEntryMethod · 0.45
copyEntryMethod · 0.45

Calls 2

getHashMethod · 0.65
segmentForMethod · 0.45

Tested by

no test coverage detected