Class DefaultIntegerValueToFloatConverter
- java.lang.Object
-
- io.tarantool.driver.mappers.converters.value.DefaultIntegerValueToFloatConverter
-
- All Implemented Interfaces:
Converter,ValueConverter<org.msgpack.value.IntegerValue,Float>,Serializable
public class DefaultIntegerValueToFloatConverter extends Object implements ValueConverter<org.msgpack.value.IntegerValue,Float>
DefaultIntegerValuetoFloatconverter- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DefaultIntegerValueToFloatConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FloatfromValue(org.msgpack.value.IntegerValue value)Convert MessagePack entity to a Java object-
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.ValueConverter
canConvertValue
-
-
-
-
Method Detail
-
fromValue
public Float fromValue(org.msgpack.value.IntegerValue value)
Description copied from interface:ValueConverterConvert MessagePack entity to a Java object- Specified by:
fromValuein interfaceValueConverter<org.msgpack.value.IntegerValue,Float>- Parameters:
value- entity- Returns:
- object
-
-