
T - the type of a possible value (i.e., the type of the option)public abstract class NumberParameter<T extends Number> extends AbstractParameter<T>
constraints, defaultValue, givenValue, optionalParameter, optionid, shortDescription| Constructor and Description | 
|---|
NumberParameter(OptionID optionID)
Constructs a number parameter with the given optionID. 
 | 
NumberParameter(OptionID optionID,
               boolean optional)
Constructs a number parameter with the given optionID and optional flag. 
 | 
NumberParameter(OptionID optionID,
               T defaultValue)
Constructs a number parameter with the given optionID and default Value. 
 | 
addConstraint, addConstraints, getDefaultValue, getDefaultValueAsString, getFullDescription, getGivenValue, getName, getOptionID, getShortDescription, getSyntax, getValue, getValueAsString, getValuesDescription, hasDefaultValue, hasValuesDescription, isDefined, isOptional, isValid, parseValue, setDefaultValue, setOptional, setShortDescription, setValue, setValueInternal, tookDefaultValue, tryDefaultValue, useDefaultValue, validatepublic NumberParameter(OptionID optionID, T defaultValue)
optionID - the unique id of this parameterdefaultValue - the default value for this parameterpublic NumberParameter(OptionID optionID, boolean optional)
optionID - the unique id of this parameteroptional - specifies if this parameter is an optional parameterpublic NumberParameter(OptionID optionID)
optionID - the unique id of this parameter