T
- the type of value to convertpublic class CoherenceConverterAdapter<T> extends Object implements InternalConverter<T>
InternalConverter
that uses two Coherence Converter
s as a means of performing conversions to and from internal representations.Constructor and Description |
---|
CoherenceConverterAdapter(Converter fromConverter, Converter toConverter)
Constructs a
CoherenceConverterAdapter given two Coherence Converter s. |
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.
|
public CoherenceConverterAdapter(Converter fromConverter, Converter toConverter)
CoherenceConverterAdapter
given two Coherence Converter
s.public Object toInternal(T value)
InternalConverter
toInternal
in interface InternalConverter<T>
value
- the value to convertpublic T fromInternal(Object object)
InternalConverter
fromInternal
in interface InternalConverter<T>
object
- the internal representation of the value