(ReferenceEntry<K, V> original, ReferenceEntry<K, V> newNext)
| 1709 | */ |
| 1710 | // Guarded By Segment.this |
| 1711 | @SuppressWarnings("GuardedBy") |
| 1712 | @VisibleForTesting |
| 1713 | ReferenceEntry<K, V> copyEntry(ReferenceEntry<K, V> original, ReferenceEntry<K, V> newNext) { |
| 1714 | int hash = original.getHash(); |
| 1715 | return segmentFor(hash).copyEntry(original, newNext); |
| 1716 | } |
| 1717 | |
| 1718 | /** |
| 1719 | * This method is a convenience for testing. Code should call {@link Segment#setValue} instead. |