public class DefaultFloatValueToShortConverter extends Object implements ValueConverter<org.msgpack.value.FloatValue,Short>
FloatValue to Short converter| Constructor 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)
ValueConverterfromValue in interface ValueConverter<org.msgpack.value.FloatValue,Short>value - entitypublic boolean canConvertValue(org.msgpack.value.FloatValue value)
ValueConvertercanConvertValue in interface ValueConverter<org.msgpack.value.FloatValue,Short>value - MessagePack entity to be convertedCopyright © 2025 Picodata. All rights reserved.