com.beust.jcommander.converters
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.
- Author:
- acornejo
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DoubleConverter
public DoubleConverter(String optionName)
convert
public Double convert(String value)
- Returns:
- an object of type created from the parameter value.
Copyright © 2012. All Rights Reserved.