Enum Class SideOfRoad

java.lang.Object
java.lang.Enum<SideOfRoad>
com.here.platform.location.referencing.javadsl.SideOfRoad
All Implemented Interfaces:
Serializable, Comparable<SideOfRoad>, Constable

public enum SideOfRoad extends Enum<SideOfRoad>
The side of the road of an event.

The event can be on the right side, on the left, on both sides, or declared as unknown.

  • Enum Constant Details

    • UNKNOWN_SIDE

      public static final SideOfRoad UNKNOWN_SIDE
    • ON_RIGHT

      public static final SideOfRoad ON_RIGHT
    • ON_LEFT

      public static final SideOfRoad ON_LEFT
    • ON_BOTH_SIDES

      public static final SideOfRoad ON_BOTH_SIDES
  • Method Details

    • values

      public static SideOfRoad[] 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 SideOfRoad 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
    • toScala

      public com.here.platform.location.referencing.SideOfRoad toScala()
    • fromScala

      public static SideOfRoad fromScala(com.here.platform.location.referencing.SideOfRoad sideOfRoad)