public static class CmdLineParser.Option.DoubleOption extends CmdLineParser.Option<Double>
CmdLineParser.Option.BooleanOption, CmdLineParser.Option.DoubleOption, CmdLineParser.Option.IntegerOption, CmdLineParser.Option.LongOption, CmdLineParser.Option.StringOption| Constructor and Description |
|---|
DoubleOption(char shortForm,
String longForm) |
DoubleOption(String longForm) |
| Modifier and Type | Method and Description |
|---|---|
protected Double |
parseValue(String arg,
Locale locale)
Override to extract and convert an option value passed on the command-line
|
getDefaultValue, getValue, longForm, shortForm, wantsValuepublic DoubleOption(char shortForm,
String longForm)
public DoubleOption(String longForm)
protected Double parseValue(String arg, Locale locale) throws CmdLineParser.IllegalOptionValueException
CmdLineParser.OptionparseValue in class CmdLineParser.Option<Double>CmdLineParser.IllegalOptionValueExceptionCopyright © 2019 David R. Smith. All rights reserved.