Class ParameterTypeSpeed

java.lang.Object
org.opentrafficsim.base.parameters.ParameterType<T>
org.opentrafficsim.base.parameters.ParameterTypeNumeric<org.djunits.value.vdouble.scalar.Speed>
org.opentrafficsim.base.parameters.ParameterTypeSpeed
All Implemented Interfaces:
Identifiable, Type<ParameterType<org.djunits.value.vdouble.scalar.Speed>>

public class ParameterTypeSpeed extends ParameterTypeNumeric<org.djunits.value.vdouble.scalar.Speed>
Wrapper class for Speed parameters.

Copyright (c) 2013-2026 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.

Author:
Alexander Verbraeck, Wouter Schakel
  • Constructor Details

    • ParameterTypeSpeed

      public ParameterTypeSpeed(String id, String description, org.djunits.value.vdouble.scalar.Speed defaultValue)
      Construct a new ParameterTypeSpeed with default value, without check.
      Parameters:
      id - short name of the new ParameterTypeSpeed
      description - parameter description or full name of the new ParameterTypeSpeed
      defaultValue - default value of the new ParameterTypeSpeed
    • ParameterTypeSpeed

      public 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.
      Parameters:
      id - short name of the new ParameterTypeSpeed
      description - parameter description or full name of the new ParameterTypeSpeed
      defaultValue - default value of the new ParameterTypeSpeed
      constraint - constraint for parameter values
  • Method Details