Uses of Class
org.opentrafficsim.base.parameters.ParameterException
Packages that use ParameterException
-
Uses of ParameterException in org.opentrafficsim.base.parameters
Methods in org.opentrafficsim.base.parameters that throw ParameterExceptionModifier and TypeMethodDescriptionvoidParameterType.check(T value, Parameters params) Default implementation of check method.voidParameterTypeInteger.check(int value, Parameters params) Method to overwrite for checks with constraints.final voidParameterType.checkConstraint(T value) Check that a value complies with the constraint of this AbstractParameterType.final 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.ParameterType.printValue(Parameters parameters) Print the given value from the map in Parameters in a presentable format.final StringParameterTypeBoolean.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 StringParameterTypeDouble.printValue(Parameters parameters) Print the given value from the map in Parameters in a presentable format.final StringParameterTypeInteger.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 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.final voidParameterSet.resetParameter(ParameterType<?> parameterType) Resets the parameter value to the value from before the last set.final <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.final <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.final <T> voidParameterSet.setParameterResettable(ParameterType<T> parameterType, T value) Set parameter value of given parameter type, store old value to allow a reset.