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