Class DoubleConverter

java.lang.Object
com.beust.jcommander.converters.BaseConverter<Double>
com.beust.jcommander.converters.DoubleConverter
All Implemented Interfaces:
IStringConverter<Double>

public class DoubleConverter extends BaseConverter<Double>
Convert a string to a double.
  • Constructor Details

    • DoubleConverter

      public DoubleConverter(String optionName)
  • Method Details

    • convert

      public Double convert(String value)
      Returns:
      an object of type T created from the parameter value.