Enum Class LaneAccessLaw

java.lang.Object
java.lang.Enum<LaneAccessLaw>
org.opentrafficsim.road.network.LaneAccessLaw
All Implemented Interfaces:
Serializable, Comparable<LaneAccessLaw>, Constable

public enum LaneAccessLaw extends Enum<LaneAccessLaw>
Lane access law.

Copyright (c) 2022-2024 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information https://djutils.org. The DJUTILS project is distributed under a three-clause BSD-style license, which can be found at https://djutils.org/docs/license.html.
Author:
Wouter Schakel
  • Enum Constant Details

    • PHYSICAL

      public static final LaneAccessLaw PHYSICAL
      Physical lane access law.
  • Method Details

    • values

      public static LaneAccessLaw[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static LaneAccessLaw valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null