Package org.eclipse.sisu.inject
Class MildValues.StrongEntry
- java.lang.Object
-
- org.eclipse.sisu.inject.MildValues.StrongEntry
-
- All Implemented Interfaces:
java.util.Map.Entry<K,V>
- Enclosing class:
- MildValues<K,V>
final class MildValues.StrongEntry extends java.lang.Object implements java.util.Map.Entry<K,V>
Map.Entry
that delegates to the original entry, but maintains a strong reference to the value.
-
-
Constructor Summary
Constructors Constructor Description StrongEntry(java.util.Map.Entry<K,java.lang.ref.Reference<V>> entry, V value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description K
getKey()
V
getValue()
V
setValue(V newValue)
-