public class ParameterTypeFrequency extends ParameterTypeNumeric<Frequency> 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 |
|---|
ParameterTypeFrequency(String id,
String description)
Construct a new ParameterTypeFrequency without default value and check.
|
ParameterTypeFrequency(String id,
String description,
Constraint<? super Frequency> constraint)
Construct a new ParameterTypeFrequency without default value, with check.
|
ParameterTypeFrequency(String id,
String description,
Frequency defaultValue)
Construct a new ParameterTypeFrequency with default value, without check.
|
ParameterTypeFrequency(String id,
String description,
Frequency defaultValue,
Constraint<? super Frequency> constraint)
Construct a new ParameterTypeFrequency with default value and check.
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
printValuecheck, checkConstraint, equals, getConstraint, getDefaultValue, getDescription, getId, getValueClass, hasDefaultValue, hashCodepublic ParameterTypeFrequency(String id, String description)
id - String; short name of the new ParameterTypeFrequencydescription - String; parameter description or full name of the new ParameterTypeFrequencypublic ParameterTypeFrequency(String id, String description, Frequency defaultValue)
id - String; short name of the new ParameterTypeFrequencydescription - String; parameter description or full name of the new ParameterTypeFrequencydefaultValue - Frequency; the default value of the new ParameterTypeFrequencypublic ParameterTypeFrequency(String id, String description, Constraint<? super Frequency> constraint)
id - String; short name of the new ParameterTypeFrequencydescription - String; parameter description or full name of the new ParameterTypeFrequencyconstraint - Constraint<? super Frequency>; constraint for parameter valuespublic ParameterTypeFrequency(String id, String description, Frequency defaultValue, Constraint<? super Frequency> constraint)
id - String; short name of the new ParameterTypeFrequencydescription - String; parameter description or full name of the new ParameterTypeFrequencydefaultValue - Frequency; the default value of the new ParameterTypeFrequencyconstraint - Constraint<? super Frequency>; constraint for parameter valuespublic final String toString()
toString in class ParameterTypeNumeric<Frequency>Copyright © 2014–2019 Delft University of Technology. All rights reserved.