Class ParameterTypeBoolean

All Implemented Interfaces:
Serializable, Identifiable

public class ParameterTypeBoolean
extends ParameterType<Boolean>
implements Serializable
Wrapper class for boolean parameters.

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

Version:
$Revision$, $LastChangedDate$, by $Author$, initial version Apr 13, 2016
Author:
Alexander Verbraeck, Wouter Schakel
See Also:
Serialized Form
  • Constructor Details

    • ParameterTypeBoolean

      public ParameterTypeBoolean​(String id, String description)
      Construct a new ParameterTypeBoolean without default value.
      Parameters:
      id - String; short name of the new ParameterTypeBoolean
      description - String; parameter description or full name of the new ParameterTypeBoolean
    • ParameterTypeBoolean

      public ParameterTypeBoolean​(String id, String description, boolean defaultValue)
      Construct a new ParameterTypeBoolean with default value.
      Parameters:
      id - String; short name of the new ParameterTypeBoolean
      description - String; parameter description or full name of the new ParameterTypeBoolean
      defaultValue - boolean; the default value of the new ParameterTypeBoolean
  • Method Details