public class ParameterTypeLinearDensity extends ParameterTypeNumeric<LinearDensity> implements Serializable
Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
defaultValue
Constructor and Description |
---|
ParameterTypeLinearDensity(String id,
String description)
Construct a new ParameterTypeLinearDensity without default value and check.
|
ParameterTypeLinearDensity(String id,
String description,
Constraint<? super LinearDensity> constraint)
Construct a new ParameterTypeLinearDensity without default value, with check.
|
ParameterTypeLinearDensity(String id,
String description,
LinearDensity defaultValue)
Construct a new ParameterTypeLinearDensity with default value, without check.
|
ParameterTypeLinearDensity(String id,
String description,
LinearDensity defaultValue,
Constraint<? super LinearDensity> constraint)
Construct a new ParameterTypeLinearDensity with default value and check.
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
printValue
check, checkConstraint, equals, getConstraint, getDefaultValue, getDescription, getId, getValueClass, hasDefaultValue, hashCode
public ParameterTypeLinearDensity(String id, String description)
id
- String; short name of the new ParameterTypeLinearDensitydescription
- String; parameter description or full name of the new ParameterTypeLinearDensitypublic ParameterTypeLinearDensity(String id, String description, LinearDensity defaultValue)
id
- String; short name of the new ParameterTypeLinearDensitydescription
- String; parameter description or full name of the new ParameterTypeLinearDensitydefaultValue
- LinearDensity; the default value of the new ParameterTypeLinearDensitypublic ParameterTypeLinearDensity(String id, String description, Constraint<? super LinearDensity> constraint)
id
- String; short name of the new ParameterTypeLinearDensitydescription
- String; parameter description or full name of the new ParameterTypeLinearDensityconstraint
- Constraint<? super LinearDensity>; constraint for parameter valuespublic ParameterTypeLinearDensity(String id, String description, LinearDensity defaultValue, Constraint<? super LinearDensity> constraint)
id
- String; short name of the new ParameterTypeLinearDensitydescription
- String; parameter description or full name of the new ParameterTypeLinearDensitydefaultValue
- LinearDensity; the default value of the new ParameterTypeLinearDensityconstraint
- Constraint<? super LinearDensity>; constraint for parameter valuespublic final String toString()
toString
in class ParameterTypeNumeric<LinearDensity>
Copyright © 2014–2019 Delft University of Technology. All rights reserved.