|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.lmu.ifi.dbs.elki.utilities.optionhandling.parameters.Parameter<Number,T> de.lmu.ifi.dbs.elki.utilities.optionhandling.parameters.NumberParameter<T>
T
- the type of a possible value (i.e., the type of the option)public abstract class NumberParameter<T extends Number>
Abstract class for defining a number parameter.
Field Summary |
---|
Fields inherited from class de.lmu.ifi.dbs.elki.utilities.optionhandling.parameters.Parameter |
---|
constraints, defaultValue, givenValue, optionalParameter, optionid, shortDescription |
Constructor Summary | |
---|---|
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,
List<ParameterConstraint<Number>> constraints)
Constructs a number parameter with the given optionID, and constraint. |
|
NumberParameter(OptionID optionID,
List<ParameterConstraint<Number>> constraints,
boolean optional)
Constructs a number parameter with the given optionID, constraint, and optional flag. |
|
NumberParameter(OptionID optionID,
List<ParameterConstraint<Number>> constraints,
T defaultValue)
Constructs a number parameter with the given optionID, constraint, and optional flag. |
|
NumberParameter(OptionID optionID,
ParameterConstraint<Number> constraint)
Constructs a number parameter with the given optionID, and constraint. |
|
NumberParameter(OptionID optionID,
ParameterConstraint<Number> constraint,
boolean optional)
Constructs a number parameter with the given optionID, constraint, and optional flag. |
|
NumberParameter(OptionID optionID,
ParameterConstraint<Number> constraint,
T defaultValue)
Constructs a number parameter with the given optionID, constraint, and optional flag. |
|
NumberParameter(OptionID optionID,
T defaultValue)
Constructs a number parameter with the given optionID and default Value. |
Method Summary |
---|
Methods inherited from class de.lmu.ifi.dbs.elki.utilities.optionhandling.parameters.Parameter |
---|
addConstraint, 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, validate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NumberParameter(OptionID optionID, List<ParameterConstraint<Number>> constraints, T defaultValue)
optionID
- the unique id of this parameterconstraints
- the constraints of this parameterdefaultValue
- the default value for this parameterpublic NumberParameter(OptionID optionID, List<ParameterConstraint<Number>> constraints, boolean optional)
optionID
- the unique id of this parameterconstraints
- the constraint of this parameteroptional
- specifies if this parameter is an optional parameterpublic NumberParameter(OptionID optionID, List<ParameterConstraint<Number>> constraints)
optionID
- the unique id of this parameterconstraints
- the constraints of this parameter, may be empty if there
are no constraintspublic NumberParameter(OptionID optionID, ParameterConstraint<Number> constraint, T defaultValue)
optionID
- the unique id of this parameterconstraint
- the constraint of this parameterdefaultValue
- the default value for this parameterpublic NumberParameter(OptionID optionID, ParameterConstraint<Number> constraint, boolean optional)
optionID
- the unique id of this parameterconstraint
- the constraint of this parameteroptional
- specifies if this parameter is an optional parameterpublic NumberParameter(OptionID optionID, ParameterConstraint<Number> constraint)
optionID
- the unique id of this parameterconstraint
- the constraint of this parameterpublic 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
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |