Top Description Constructors Methods
com.beust.jcommander.converters

public Class DoubleConverter

extends BaseConverter<Double>
Class Inheritance
Imports
com.beust.jcommander.ParameterException

Convert a string to a double.
Author
acornejo

Constructor Summary

AccessConstructor and Description
public
DoubleConverter(String optionName)

Method Summary

Modifier and TypeMethod and Description
public Double
Inherited from com.beust.jcommander.converters.BaseConverter:
getErrorStringgetOptionName

Constructor Detail

DoubleConverterback to summary
public DoubleConverter(String optionName)

Method Detail

convertback to summary
public Double convert(String value)

Implements com.beust.jcommander.IStringConverter.convert.

Returns:Double

Doc from com.beust.jcommander.IStringConverter.convert.

an object of type T created from the parameter value.