Class CliUnitConverters.DIMENSIONLESS

  • All Implemented Interfaces:
    CommandLine.ITypeConverter<org.djunits.value.vdouble.scalar.Dimensionless>
    Enclosing class:
    CliUnitConverters

    public static class CliUnitConverters.DIMENSIONLESS
    extends Object
    implements CommandLine.ITypeConverter<org.djunits.value.vdouble.scalar.Dimensionless>
    Convert a dimensionless String with unit on the command line to a Dimensionless scalar.
    • Constructor Detail

      • DIMENSIONLESS

        public DIMENSIONLESS()
    • Method Detail

      • convert

        @Generated(value="org.djunits.generator.GenerateCliConverters",
                   date="2020-01-17T12:27:20.797349900Z")
        public org.djunits.value.vdouble.scalar.Dimensionless convert​(String value)
                                                               throws Exception
        Specified by:
        convert in interface CommandLine.ITypeConverter<org.djunits.value.vdouble.scalar.Dimensionless>
        Throws:
        Exception