Enum Class RailwayCrossingType

java.lang.Object
java.lang.Enum<RailwayCrossingType>
com.here.sdk.mapdata.RailwayCrossingType
All Implemented Interfaces:
Serializable, Comparable<RailwayCrossingType>, Constable

public enum RailwayCrossingType extends Enum<RailwayCrossingType>

Type of railway crossing.

  • Enum Constant Details

    • UNKNOWN

      public static final RailwayCrossingType UNKNOWN

      Railway crossing without data about its barrier.

    • PROTECTED

      public static final RailwayCrossingType PROTECTED

      Railway crossing is protected with a barrier.

    • UNPROTECTED

      public static final RailwayCrossingType UNPROTECTED

      Railway crossing is NOT protected with a barrier.

  • Method Details

    • values

      public static RailwayCrossingType[] 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 RailwayCrossingType 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