Class DefaultDoubleToFloatValueConverter
- java.lang.Object
-
- io.tarantool.driver.mappers.converters.object.DefaultDoubleToFloatValueConverter
-
- All Implemented Interfaces:
Converter
,ObjectConverter<Double,org.msgpack.value.FloatValue>
,Serializable
public class DefaultDoubleToFloatValueConverter extends Object implements ObjectConverter<Double,org.msgpack.value.FloatValue>
DefaultDouble
toFloatValue
converter- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DefaultDoubleToFloatValueConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.msgpack.value.FloatValue
toValue(Double object)
Convert Java object to a MessagePack entity-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.tarantool.driver.mappers.converters.ObjectConverter
canConvertObject
-
-
-
-
Method Detail
-
toValue
public org.msgpack.value.FloatValue toValue(Double object)
Description copied from interface:ObjectConverter
Convert Java object to a MessagePack entity- Specified by:
toValue
in interfaceObjectConverter<Double,org.msgpack.value.FloatValue>
- Parameters:
object
- object- Returns:
- entity
-
-