Uses of Class
org.opentrafficsim.base.parameters.ParameterException
Package | Description |
---|---|
org.opentrafficsim.base.parameters |
Simulation parameters.
|
-
Uses of ParameterException in org.opentrafficsim.base.parameters
Methods in org.opentrafficsim.base.parameters that throw ParameterException Modifier and Type Method Description void
ParameterType. check(T value, Parameters params)
Default implementation of check method.void
ParameterTypeInteger. check(int value, Parameters params)
Method to overwrite for checks with constraints.void
ParameterType. checkConstraint(T value)
Check that a value complies with the constraint of this AbstractParameterType.T
ParameterType. getDefaultValue()
Retrieve the the default value of this AbstractParameterType.<T> T
Parameters. getParameter(ParameterType<T> parameterType)
Get parameter of given type.<T> T
ParameterSet. getParameter(ParameterType<T> parameterType)
Get parameter of given type.java.lang.String
ParameterType. printValue(Parameters parameters)
Print the given value from the map in Parameters in a presentable format.java.lang.String
ParameterTypeBoolean. printValue(Parameters parameters)
Print the given value from the map in Parameters in a presentable format.java.lang.String
ParameterTypeClass. printValue(Parameters parameters)
Print the given value from the map in Parameters in a presentable format.java.lang.String
ParameterTypeClassList. printValue(Parameters parameters)
Print the given value from the map in Parameters in a presentable format.java.lang.String
ParameterTypeDouble. printValue(Parameters parameters)
Print the given value from the map in Parameters in a presentable format.java.lang.String
ParameterTypeInteger. printValue(Parameters parameters)
Print the given value from the map in Parameters in a presentable format.java.lang.String
ParameterTypeNumeric. printValue(Parameters parameters)
Print the given value from the map in Parameters in a presentable format.java.lang.String
ParameterTypeString. printValue(Parameters parameters)
Print the given value from the map in Parameters in a presentable format.void
Parameters. resetParameter(ParameterType<?> parameterType)
Resets the parameter value to the value from before the last set.void
ParameterSet. resetParameter(ParameterType<?> parameterType)
Resets the parameter value to the value from before the last set.<T> ParameterSet
ParameterSet. setDefaultParameter(ParameterType<T> parameter)
Sets the default value of a parameter.<T> void
Parameters. setParameter(ParameterType<T> parameterType, T value)
Set parameter value of given parameter type.<T> void
ParameterSet. setParameter(ParameterType<T> parameterType, T value)
Set parameter value of given parameter type.<T> void
Parameters. setParameterResettable(ParameterType<T> parameterType, T value)
Set parameter value of given parameter type, store old value to allow a reset.<T> void
ParameterSet. setParameterResettable(ParameterType<T> parameterType, T value)
Set parameter value of given parameter type, store old value to allow a reset.