Class FloatConverter

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

public class FloatConverter extends BaseConverter<Float>
Convert a string to a float.
  • Constructor Details

    • FloatConverter

      public FloatConverter(String optionName)
  • Method Details

    • convert

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