public class ParameterTypeLength extends ParameterTypeNumeric<org.djunits.value.vdouble.scalar.Length> implements Serializable
Copyright (c) 2013-2017 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 |
|---|
ParameterTypeLength(String id,
String description)
Constructor without default value and check.
|
ParameterTypeLength(String id,
String description,
Constraint<? super org.djunits.value.vdouble.scalar.Length> constraint)
Construct a new ParameterTypeLength without default value, with check.
|
ParameterTypeLength(String id,
String description,
org.djunits.value.vdouble.scalar.Length defaultValue)
Construct a new ParameterTypeLength with default value, without check.
|
ParameterTypeLength(String id,
String description,
org.djunits.value.vdouble.scalar.Length defaultValue,
Constraint<? super org.djunits.value.vdouble.scalar.Length> constraint)
Construct a new ParameterTypeLength with default value and check.
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
printValuecheck, checkConstraint, equals, getConstraint, getDefaultValue, getDescription, getId, getValueClass, hasDefaultValue, hashCodepublic ParameterTypeLength(String id, String description)
id - String; short name of the new ParameterTypeLengthdescription - String; parameter description or full name of the new ParameterTypeLengthpublic ParameterTypeLength(String id, String description, org.djunits.value.vdouble.scalar.Length defaultValue)
id - String; short name of the new ParameterTypeLengthdescription - String; parameter description or full name of the new ParameterTypeLengthdefaultValue - Length; the default value of the new ParameterTypeLengthpublic ParameterTypeLength(String id, String description, Constraint<? super org.djunits.value.vdouble.scalar.Length> constraint)
id - String; short name of the new ParameterTypeLengthdescription - String; parameter description or full name of the new ParameterTypeLengthconstraint - Constraint<? super Length>; constraint for parameter valuespublic ParameterTypeLength(String id, String description, org.djunits.value.vdouble.scalar.Length defaultValue, Constraint<? super org.djunits.value.vdouble.scalar.Length> constraint)
id - String; short name of the new ParameterTypeLengthdescription - String; parameter description or full name of the new ParameterTypeLengthdefaultValue - Length; the default value of the new ParameterTypeLengthconstraint - Constraint<? super Length>; constraint for parameter valuespublic final String toString()
toString in class ParameterTypeNumeric<org.djunits.value.vdouble.scalar.Length>Copyright © 2014–2018 Delft University of Technology. All rights reserved.