T - the type of value to convertpublic class CoherenceConverterAdapter<T> extends Object implements InternalConverter<T>
InternalConverter that uses two Coherence Converters
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 Converters. |
| 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 Converters.public Object toInternal(T value)
InternalConvertertoInternal in interface InternalConverter<T>value - the value to convertpublic T fromInternal(Object object)
InternalConverterfromInternal in interface InternalConverter<T>object - the internal representation of the value