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 voidParameterType. check(T value, Parameters params)Default implementation of check method.voidParameterTypeInteger. check(int value, Parameters params)Method to overwrite for checks with constraints.voidParameterType. checkConstraint(T value)Check that a value complies with the constraint of this AbstractParameterType.TParameterType. getDefaultValue()Retrieve the the default value of this AbstractParameterType.<T> TParameters. getParameter(ParameterType<T> parameterType)Get parameter of given type.<T> TParameterSet. getParameter(ParameterType<T> parameterType)Get parameter of given type.java.lang.StringParameterType. printValue(Parameters parameters)Print the given value from the map in Parameters in a presentable format.java.lang.StringParameterTypeBoolean. printValue(Parameters parameters)Print the given value from the map in Parameters in a presentable format.java.lang.StringParameterTypeClass. printValue(Parameters parameters)Print the given value from the map in Parameters in a presentable format.java.lang.StringParameterTypeClassList. printValue(Parameters parameters)Print the given value from the map in Parameters in a presentable format.java.lang.StringParameterTypeDouble. printValue(Parameters parameters)Print the given value from the map in Parameters in a presentable format.java.lang.StringParameterTypeInteger. printValue(Parameters parameters)Print the given value from the map in Parameters in a presentable format.java.lang.StringParameterTypeNumeric. printValue(Parameters parameters)Print the given value from the map in Parameters in a presentable format.java.lang.StringParameterTypeString. printValue(Parameters parameters)Print the given value from the map in Parameters in a presentable format.voidParameters. resetParameter(ParameterType<?> parameterType)Resets the parameter value to the value from before the last set.voidParameterSet. resetParameter(ParameterType<?> parameterType)Resets the parameter value to the value from before the last set.<T> ParameterSetParameterSet. setDefaultParameter(ParameterType<T> parameter)Sets the default value of a parameter.<T> voidParameters. setParameter(ParameterType<T> parameterType, T value)Set parameter value of given parameter type.<T> voidParameterSet. setParameter(ParameterType<T> parameterType, T value)Set parameter value of given parameter type.<T> voidParameters. setParameterResettable(ParameterType<T> parameterType, T value)Set parameter value of given parameter type, store old value to allow a reset.<T> voidParameterSet. setParameterResettable(ParameterType<T> parameterType, T value)Set parameter value of given parameter type, store old value to allow a reset.