Interface Converter

    • Method Detail

      • concatenate

        Converter concatenate​(Converter nextConverter)
        Return a converter which is equivalent to applying the `nextConverter` on the result of a conversion with this converter. If `nextConverter` is null or the identity conversion, this converter is returned without instantiating a new converter. Otherwise, a new converter is instantiated while this converter is not altered.
        Parameters:
        nextConverter -
        Returns:
        a converter
      • convert

        Number convert​(Number value)
        Return the result of an application of this converter on `value`.
        Parameters:
        value -
        Returns:
        result