T
- the type of value to convert
public interface InternalConverter<T>
InternalConverter
s are typically used convert cache keys and values to and from an appropriate internal representation.
The internal representation is declared as an Object as the type is typically unknown until runtime.
Modifier and Type | Method and Description |
---|---|
T |
fromInternal(Object object)
Converts an internal representation of a value to a value.
|
Object |
toInternal(T value)
Converts a value to an internal representation.
|