Enum StreetAttributes

  • java.lang.Object
  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<StreetAttributes>

    public enum StreetAttributes
    extends java.lang.Enum<StreetAttributes>

    Types of street attributes.

    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static StreetAttributes valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static StreetAttributes[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • RIGHT_DRIVING_SIDE

        public static final StreetAttributes RIGHT_DRIVING_SIDE

        The driving on the street is done on the right side.

      • DIRT_ROAD

        public static final StreetAttributes DIRT_ROAD

        The street is a dirt road.

      • TUNNEL

        public static final StreetAttributes TUNNEL

        The street goes through a tunnel.

      • BRIDGE

        public static final StreetAttributes BRIDGE

        The street goes over a bridge.

      • ROUNDABOUT

        public static final StreetAttributes ROUNDABOUT

        The street contains a roundabout.

      • UNDER_CONSTRUCTION

        public static final StreetAttributes UNDER_CONSTRUCTION

        The street is under construction.

      • DIVIDED_ROAD

        public static final StreetAttributes DIVIDED_ROAD

        The street is a divided road.

      • MOTORWAY

        public static final StreetAttributes MOTORWAY

        The street is a motorway.

      • PRIVATE_ROAD

        public static final StreetAttributes PRIVATE_ROAD

        The street is a private road.

      • BUILT_UP_AREA

        public static final StreetAttributes BUILT_UP_AREA

        The street is most likely in a built-up area.

      • CONTROLLED_ACCESS_HIGHWAY

        public static final StreetAttributes CONTROLLED_ACCESS_HIGHWAY

        The street is either a controlled access or a limited access road or both.

    • Method Detail

      • values

        public static StreetAttributes[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (StreetAttributes c : StreetAttributes.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static StreetAttributes valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null