Class DefaultFloatValueToFloatConverter

    • Constructor Detail

      • DefaultFloatValueToFloatConverter

        public DefaultFloatValueToFloatConverter()
    • Method Detail

      • fromValue

        public Float fromValue​(org.msgpack.value.FloatValue value)
        Description copied from interface: ValueConverter
        Convert MessagePack entity to a Java object
        Specified by:
        fromValue in interface ValueConverter<org.msgpack.value.FloatValue,​Float>
        Parameters:
        value - entity
        Returns:
        object
      • canConvertValue

        public boolean canConvertValue​(org.msgpack.value.FloatValue value)
        Description copied from interface: ValueConverter
        Optional method for determining if this specific entity can be converted to the specified object type.
        Specified by:
        canConvertValue in interface ValueConverter<org.msgpack.value.FloatValue,​Float>
        Parameters:
        value - MessagePack entity to be converted
        Returns:
        true, if the entity csn be converted