public class DefaultFloatValueToShortConverter extends Object implements ValueConverter<org.msgpack.value.FloatValue,Short>
FloatValue
to Short
converterConstructor and Description |
---|
DefaultFloatValueToShortConverter() |
Modifier and Type | Method and Description |
---|---|
boolean |
canConvertValue(org.msgpack.value.FloatValue value)
Optional method for determining if this specific entity can be converted to the specified object type.
|
Short |
fromValue(org.msgpack.value.FloatValue value)
Convert MessagePack entity to a Java object
|
public Short fromValue(org.msgpack.value.FloatValue value)
ValueConverter
fromValue
in interface ValueConverter<org.msgpack.value.FloatValue,Short>
value
- entitypublic boolean canConvertValue(org.msgpack.value.FloatValue value)
ValueConverter
canConvertValue
in interface ValueConverter<org.msgpack.value.FloatValue,Short>
value
- MessagePack entity to be convertedCopyright © 2025 Picodata. All rights reserved.