final class MildValues.StrongEntry
extends java.lang.Object
implements java.util.Map.Entry<K,V>
Entry
that delegates to the original entry, but maintains a strong reference to the value.Modifier and Type | Field and Description |
---|---|
private java.util.Map.Entry<K,java.lang.ref.Reference<V>> |
entry |
private V |
value |
Constructor and Description |
---|
StrongEntry(java.util.Map.Entry<K,java.lang.ref.Reference<V>> entry,
V value) |
Modifier and Type | Method and Description |
---|---|
K |
getKey() |
V |
getValue() |
V |
setValue(V newValue) |
private V value