Package ucar.units

Class TimeScaleUnit.MyConverter

  • All Implemented Interfaces:
    Converter
    Enclosing class:
    TimeScaleUnit

    protected static final class TimeScaleUnit.MyConverter
    extends ConverterImpl
    Provides support for Converter-s.
    • Method Detail

      • convert

        public double convert​(double amount)
        Description copied from interface: Converter
        Converts a numeric value.
        Parameters:
        amount - The numeric value to convert.
        Returns:
        The converted numeric value.
      • convert

        public float[] convert​(float[] input,
                               float[] output)
        Description copied from interface: Converter
        Converts an array of numeric values.
        Parameters:
        input - The numeric values to convert.
        output - The converted numeric values. May be same array as input.
        Returns:
        output.
      • convert

        public double[] convert​(double[] input,
                                double[] output)
        Description copied from interface: Converter
        Converts an array of numeric values.
        Parameters:
        input - The numeric values to convert.
        output - The converted numeric values. May be same array as input.
        Returns:
        output.