Class ChainConverter

  • All Implemented Interfaces:
    Converter, Signed

    public class ChainConverter
    extends AbstractConverter
    This class is currently not used but it will be useful as soon as non-linear converters are implemented.
    Author:
    tf
    • Constructor Detail

      • ChainConverter

        public ChainConverter()
    • Method Detail

      • concatenateNonIdentityConverter

        protected Converter concatenateNonIdentityConverter​(Converter c)
        Description copied from class: AbstractConverter
        Return a new Converter by concatenating another converter to this converter. The new converter is equivalent to applying the `nextConverter` on the result of a conversion with this converter.
        Specified by:
        concatenateNonIdentityConverter in class AbstractConverter
        Returns:
        a new converter
      • getSignature

        public long getSignature()
      • convert

        public Number convert​(Number value)
        Description copied from interface: Converter
        Return the result of an application of this converter on `value`.
        Returns:
        result