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