Class ParameterTypeLength

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

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

    • ParameterTypeLength

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

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