
public class DoubleListParameter extends ListParameter<DoubleListParameter,Double>
LIST_SEP, SPLIT, VECTOR_SEP, VECTOR_SPLITconstraints, defaultValue, givenValue, optionalParameter, optionid, shortDescription| Constructor and Description |
|---|
DoubleListParameter(OptionID optionID)
Constructs a list parameter with the given optionID.
|
DoubleListParameter(OptionID optionID,
boolean optional)
Constructs a list parameter with the given optionID and optional flag.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getSyntax()
Returns a string representation of the parameter's type.
|
String |
getValueAsString()
Get the value as string.
|
protected List<Double> |
parseValue(Object obj)
Parse a given value into the destination type.
|
asString, getListSizeaddConstraint, getDefaultValue, getDefaultValueAsString, getFullDescription, getGivenValue, getName, getOptionID, getShortDescription, getValue, getValuesDescription, hasDefaultValue, hasValuesDescription, isDefined, isOptional, isValid, setDefaultValue, setOptional, setShortDescription, setValue, setValueInternal, tookDefaultValue, tryDefaultValue, useDefaultValue, validatepublic DoubleListParameter(OptionID optionID, boolean optional)
optionID - Option IDoptional - Optional flagpublic DoubleListParameter(OptionID optionID)
optionID - Option IDpublic String getValueAsString()
ParameternullgetValueAsString in interface Parameter<List<Double>>getValueAsString in class AbstractParameter<DoubleListParameter,List<Double>>protected List<Double> parseValue(Object obj) throws ParameterException
AbstractParameterparseValue in class AbstractParameter<DoubleListParameter,List<Double>>obj - Object to parse (may be a string representation!)ParameterException - when the object cannot be parsed.public String getSyntax()
getSyntax in interface Parameter<List<Double>>getSyntax in class AbstractParameter<DoubleListParameter,List<Double>>