org.incava.jagol

Class DoubleOption

public class DoubleOption extends NonBooleanOption

Represents an option that is an double.
Constructor Summary
DoubleOption(String longName, String description)
DoubleOption(String longName, String description, Double value)
Method Summary
protected StringgetType()
DoublegetValue()
Returns the value.
voidsetValue(Double value)
Sets the value.
voidsetValue(String value)
Sets the value from the string, for a double type.
StringtoString()

Constructor Detail

DoubleOption

public DoubleOption(String longName, String description)

DoubleOption

public DoubleOption(String longName, String description, Double value)

Method Detail

getType

protected String getType()

getValue

public Double getValue()
Returns the value. Returns null if not set.

setValue

public void setValue(Double value)
Sets the value.

setValue

public void setValue(String value)
Sets the value from the string, for a double type.

toString

public String toString()