public class DoubleArrayByteBufferConverter extends Object implements TypeConverter<double[],ByteBuffer>
Constructor and Description |
---|
DoubleArrayByteBufferConverter() |
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
toDatastoreType(double[] memberValue)
Method to convert the passed member value to the datastore type.
|
double[] |
toMemberType(ByteBuffer datastoreValue)
Method to convert the passed datastore value to the member type.
|
public ByteBuffer toDatastoreType(double[] memberValue)
TypeConverter
toDatastoreType
in interface TypeConverter<double[],ByteBuffer>
memberValue
- Value from the memberpublic double[] toMemberType(ByteBuffer datastoreValue)
TypeConverter
toMemberType
in interface TypeConverter<double[],ByteBuffer>
datastoreValue
- Value from the datastoreCopyright © 2018. All rights reserved.