public class ParameterTypeInteger extends AbstractParameterType<org.djunits.value.vdouble.scalar.Dimensionless>
Copyright (c) 2013-2015 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
valueClass| Constructor and Description |
|---|
ParameterTypeInteger(String id,
String description,
int defaultValue)
Constructor with default value.
|
| Modifier and Type | Method and Description |
|---|---|
void |
check(double value)
Method to overwrite for checks with constraints.
|
void |
check(double value,
BehavioralCharacteristics bc)
Method to overwrite for checks with constraints.
|
equals, getDefaultValue, getDescription, getId, hashCode, toStringpublic void check(double value)
throws ParameterException
value - Value to check with constraints.ParameterException - If the value does not comply with constraints.public void check(double value,
BehavioralCharacteristics bc)
throws ParameterException
value - Value to check with constraints.bc - Set of behavioral characteristics.ParameterException - If the value does not comply with constraints.Copyright © 2014–2016 Delft University of Technology. All rights reserved.