
T - List typepublic abstract class ListParameter<T> extends AbstractParameter<List<T>>
| Modifier and Type | Field and Description | 
|---|---|
| static String | LIST_SEPList separator character - ":" | 
| static Pattern | SPLITA pattern defining a ",". | 
| static String | VECTOR_SEPVector separator character - ":" | 
| static Pattern | VECTOR_SPLITA pattern defining a ":". | 
constraints, defaultValue, givenValue, optionalParameter, optionid, shortDescription| Constructor and Description | 
|---|
| ListParameter(OptionID optionID)Constructs a list parameter with the given optionID. | 
| ListParameter(OptionID optionID,
             boolean optional)Constructs a list parameter with the given optionID and optional flag. | 
| ListParameter(OptionID optionID,
             List<T> defaultValue)Constructs a list parameter with the given optionID. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected String | asString()Returns a string representation of this list parameter. | 
| int | getListSize()Returns the size of this list parameter. | 
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 static final Pattern SPLIT
public static final String LIST_SEP
public static final Pattern VECTOR_SPLIT
public static final String VECTOR_SEP
public ListParameter(OptionID optionID, List<T> defaultValue)
optionID - the unique id of this parameterdefaultValue - the default value of this parameter (may be null)public ListParameter(OptionID optionID, boolean optional)
optionID - the unique id of this parameteroptional - Optional flagpublic ListParameter(OptionID optionID)
optionID - the unique id of this parameterpublic int getListSize()
protected String asString()