Uses of Class
org.opentrafficsim.base.parameters.ParameterException
-
Uses of ParameterException in org.opentrafficsim.base.parameters
Modifier and TypeMethodDescriptionvoid
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.final void
ParameterType.checkConstraint
(T value) Check that a value complies with the constraint of this AbstractParameterType.final 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.ParameterType.printValue
(Parameters parameters) Print the given value from the map in Parameters in a presentable format.final String
ParameterTypeBoolean.printValue
(Parameters parameters) Print the given value from the map in Parameters in a presentable format.ParameterTypeClass.printValue
(Parameters parameters) Print the given value from the map in Parameters in a presentable format.ParameterTypeClassList.printValue
(Parameters parameters) Print the given value from the map in Parameters in a presentable format.final String
ParameterTypeDouble.printValue
(Parameters parameters) Print the given value from the map in Parameters in a presentable format.final String
ParameterTypeInteger.printValue
(Parameters parameters) Print the given value from the map in Parameters in a presentable format.ParameterTypeNumeric.printValue
(Parameters parameters) Print the given value from the map in Parameters in a presentable format.final 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.final void
ParameterSet.resetParameter
(ParameterType<?> parameterType) Resets the parameter value to the value from before the last set.final <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.final <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.final <T> void
ParameterSet.setParameterResettable
(ParameterType<T> parameterType, T value) Set parameter value of given parameter type, store old value to allow a reset.