public interface ValueConvertable<V1, V2>
To support caches whose values are convertable, e.g. SoftReference, WeakReference
V1
- source value type, e.g. SoftReference, WeakReferenceV2
- target value type, e.g. value that SoftReference or WeakReference referencedType Params | Return Type | Name and description |
---|---|---|
|
public V2 |
convertValue(V1 value) convert the original value to the target value |