Uses of Interface
org.opentrafficsim.base.parameters.constraint.Constraint
Packages that use Constraint
Package
Description
Classes to define parameter types and store their values.
Constraints of parameters.
-
Uses of Constraint in org.opentrafficsim.base.parameters
Methods in org.opentrafficsim.base.parameters that return ConstraintModifier and TypeMethodDescriptionfinal Constraint<? super T>ParameterType.getConstraint()Retrieve the constraint.Constructors in org.opentrafficsim.base.parameters with parameters of type ConstraintModifierConstructorDescriptionParameterType(String id, String description, Class<T> valueClass, Constraint<? super T> constraint) Construct a new AbstractParameterType without default value and with constraint.ParameterType(String id, String description, Class<T> valueClass, T defaultValue, Constraint<? super T> constraint) Construct a new AbstractParameterType with default value and constraint.ParameterTypeAcceleration(String id, String description, org.djunits.value.vdouble.scalar.Acceleration defaultValue, Constraint<? super org.djunits.value.vdouble.scalar.Acceleration> constraint) Construct a new ParameterTypeAcceleration with default value and check.ParameterTypeAcceleration(String id, String description, Constraint<? super org.djunits.value.vdouble.scalar.Acceleration> constraint) Construct a new ParameterTypeAcceleration without default value, with check.ParameterTypeClass(String id, String description, Class<T> valueClass, Class<? extends T> defaultValue, Constraint<? super Class<? extends T>> constraint) Constructor with default value and check.ParameterTypeClass(String id, String description, Class<T> valueClass, Constraint<? super Class<? extends T>> constraint) Constructor without default value, with check.ParameterTypeClassList(String id, String description, Class<List<Class<? extends T>>> valueClass, List<Class<? extends T>> defaultValue, Constraint<? super List<Class<? extends T>>> constraint) Constructor with default value and check.ParameterTypeClassList(String id, String description, Class<List<Class<? extends T>>> valueClass, Constraint<? super List<Class<? extends T>>> constraint) Constructor without default value, with check.ParameterTypeDouble(String id, String description, double defaultValue, Constraint<? super Double> constraint) Construct a new ParameterTypeDouble with default value and check.ParameterTypeDouble(String id, String description, Double defaultValue, Constraint<Number> constraint) Construct a new ParameterTypeDouble with default value and check.ParameterTypeDouble(String id, String description, Constraint<? super Double> constraint) Construct a new ParameterTypeDouble without default value, with check.ParameterTypeDuration(String id, String description, org.djunits.value.vdouble.scalar.Duration defaultValue, Constraint<? super org.djunits.value.vdouble.scalar.Duration> constraint) Construct a new ParameterTypeDuration with default value and check.ParameterTypeDuration(String id, String description, Constraint<? super org.djunits.value.vdouble.scalar.Duration> constraint) Construct a new ParameterTypeDuration without default value, with check.ParameterTypeFrequency(String id, String description, org.djunits.value.vdouble.scalar.Frequency defaultValue, Constraint<? super org.djunits.value.vdouble.scalar.Frequency> constraint) Construct a new ParameterTypeFrequency with default value and check.ParameterTypeFrequency(String id, String description, Constraint<? super org.djunits.value.vdouble.scalar.Frequency> constraint) Construct a new ParameterTypeFrequency without default value, with check.ParameterTypeInteger(String id, String description, int defaultValue, Constraint<? super Integer> constraint) Construct a new ParameterTypeInteger with default value and check.ParameterTypeInteger(String id, String description, Integer defaultValue, Constraint<Number> constraint) Construct a new ParameterTypeInteger with default value and check.ParameterTypeInteger(String id, String description, Constraint<? super Integer> constraint) Construct a new ParameterTypeInteger without default value, with check.ParameterTypeLength(String id, String description, org.djunits.value.vdouble.scalar.Length defaultValue, Constraint<? super org.djunits.value.vdouble.scalar.Length> constraint) Construct a new ParameterTypeLength with default value and check.ParameterTypeLength(String id, String description, Constraint<? super org.djunits.value.vdouble.scalar.Length> constraint) Construct a new ParameterTypeLength without default value, with check.ParameterTypeLinearDensity(String id, String description, org.djunits.value.vdouble.scalar.LinearDensity defaultValue, Constraint<? super org.djunits.value.vdouble.scalar.LinearDensity> constraint) Construct a new ParameterTypeLinearDensity with default value and check.ParameterTypeLinearDensity(String id, String description, Constraint<? super org.djunits.value.vdouble.scalar.LinearDensity> constraint) Construct a new ParameterTypeLinearDensity without default value, with check.ParameterTypeNumeric(String id, String description, Class<T> valueClass, Constraint<? super T> constraint) Constructor without default value, with check.ParameterTypeNumeric(String id, String description, Class<T> valueClass, T defaultValue, Constraint<? super T> constraint) Constructor with default value and check.ParameterTypeSpeed(String id, String description, org.djunits.value.vdouble.scalar.Speed defaultValue, Constraint<? super org.djunits.value.vdouble.scalar.Speed> constraint) Constructor a new ParameterTypeSpeed with default value and check.ParameterTypeSpeed(String id, String description, Constraint<? super org.djunits.value.vdouble.scalar.Speed> constraint) Constructor a new ParameterTypeSpeed without default value, with check.ParameterTypeString(String id, String description, String defaultValue, Constraint<? super String> constraint) ParameterTypeString(String id, String description, Constraint<? super String> constraint) -
Uses of Constraint in org.opentrafficsim.base.parameters.constraint
Classes in org.opentrafficsim.base.parameters.constraint that implement ConstraintModifier and TypeClassDescriptionfinal classConstraint that checks whether a collection of classes is a sub collection of constraint collection.final classConstraint that checks whether the value is any of a given collection of classes, where each class is a sub class of a given type.classConstraint that checks whether a value is in a given constraint collection.final classContinuous constraints with a dual bound.classConstraint containing multiple constraints.enumList of default constraint for ParameterTypes.classSingleBound<T extends Number>Continuous constraints with a single bound.classConstraint that checks whether a collection (the parameter value) is a subset of a constraint collection.Fields in org.opentrafficsim.base.parameters.constraint declared as ConstraintModifier and TypeFieldDescriptionstatic final Constraint<Number>ConstraintInterface.ATLEASTONEstatic final Constraint<Number>ConstraintInterface.NEGATIVEstatic final Constraint<Number>ConstraintInterface.NEGATIVEZEROstatic final Constraint<Number>ConstraintInterface.NONZEROstatic final Constraint<Number>ConstraintInterface.POSITIVEstatic final Constraint<Number>ConstraintInterface.POSITIVEZEROstatic final Constraint<Number>ConstraintInterface.UNITINTERVALMethods in org.opentrafficsim.base.parameters.constraint with parameters of type ConstraintModifier and TypeMethodDescriptionstatic final <T> MultiConstraint<T>MultiConstraint.create(Constraint<? super T>... constraints) Creates aMultiConstraintfrom given constraints.Constructor parameters in org.opentrafficsim.base.parameters.constraint with type arguments of type ConstraintModifierConstructorDescriptionMultiConstraint(Set<Constraint<? super T>> constraints) Constructor.