Package: org.codehaus.groovy.runtime.memoize

## [Java] Interface ValueConvertableV1, V2

- To support caches whose values are convertable, e.g. SoftReference, WeakReference

  Parameters:
    `` - source value type, e.g. SoftReference, WeakReference
    `` - target value type, e.g. value that SoftReference or WeakReference referenced

- - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `V2` | `convertValue(V1 value)` convert the original value to the target value

- - ### Method Detail

    - #### public V2 convertValue(V1 value)

      convert the original value to the target value

      Parameters:
        `value` - the original value
      Returns:
        the converted value