T
- the type of value to convertpublic class SerializingInternalConverter<T> extends Object implements InternalConverter<T>
InternalConverter
that converts values to and from their
Coherence-based serialized Binary
representation.Constructor and Description |
---|
SerializingInternalConverter(Serializer serializer)
Constructs a
SerializingInternalConverter . |
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 SerializingInternalConverter(Serializer serializer)
SerializingInternalConverter
.serializer
- the Serializer
to use for conversionpublic 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