Class ParameterTypeAcceleration

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

public class ParameterTypeAcceleration extends ParameterTypeNumeric<org.djunits.value.vdouble.scalar.Acceleration>
Wrapper class for Acceleration 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

    • ParameterTypeAcceleration

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

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

    • toString

      public final String toString()
      Overrides:
      toString in class ParameterType<org.djunits.value.vdouble.scalar.Acceleration>