Enum LaneUsageEnum

  • All Implemented Interfaces:
    Serializable, Comparable<LaneUsageEnum>

    public enum LaneUsageEnum
    extends Enum<LaneUsageEnum>

    Java class for LaneUsageEnum.

    The following schema fragment specifies the expected content contained within this class.

     <simpleType name="LaneUsageEnum">
       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
         <enumeration value="heavyVehiclesUseLeftLane"/>
         <enumeration value="heavyVehiclesUseRightLane"/>
         <enumeration value="keepToTheLeft"/>
         <enumeration value="keepToTheRight"/>
         <enumeration value="useBusLane"/>
         <enumeration value="useHardShoulder"/>
         <enumeration value="useHeavyVehicleLane"/>
         <enumeration value="useLeftHandParallelCarriageway"/>
         <enumeration value="useLeftLane"/>
         <enumeration value="useLocalTrafficLanes"/>
         <enumeration value="useRightHandParallelCarriageway"/>
         <enumeration value="useRightLane"/>
         <enumeration value="useThroughTrafficLanes"/>
         <enumeration value="other"/>
       </restriction>
     </simpleType>
     
    • Enum Constant Detail

      • HEAVY_VEHICLES_USE_LEFT_LANE

        public static final LaneUsageEnum HEAVY_VEHICLES_USE_LEFT_LANE
        Heavy vehicles use left lane.
      • HEAVY_VEHICLES_USE_RIGHT_LANE

        public static final LaneUsageEnum HEAVY_VEHICLES_USE_RIGHT_LANE
        Heavy vehicles use right lane.
      • KEEP_TO_THE_LEFT

        public static final LaneUsageEnum KEEP_TO_THE_LEFT
        Keep to the left.
      • KEEP_TO_THE_RIGHT

        public static final LaneUsageEnum KEEP_TO_THE_RIGHT
        Keep to the right.
      • USE_BUS_LANE

        public static final LaneUsageEnum USE_BUS_LANE
        Use the bus lane.
      • USE_HARD_SHOULDER

        public static final LaneUsageEnum USE_HARD_SHOULDER
        Use the hard shoulder as a lane.
      • USE_HEAVY_VEHICLE_LANE

        public static final LaneUsageEnum USE_HEAVY_VEHICLE_LANE
        Use heavy vehicle lane.
      • USE_LEFT_HAND_PARALLEL_CARRIAGEWAY

        public static final LaneUsageEnum USE_LEFT_HAND_PARALLEL_CARRIAGEWAY
        Use left-hand parallel carriageway.
      • USE_LEFT_LANE

        public static final LaneUsageEnum USE_LEFT_LANE
        Use left lane.
      • USE_LOCAL_TRAFFIC_LANES

        public static final LaneUsageEnum USE_LOCAL_TRAFFIC_LANES
        Use local traffic lanes.
      • USE_RIGHT_HAND_PARALLEL_CARRIAGEWAY

        public static final LaneUsageEnum USE_RIGHT_HAND_PARALLEL_CARRIAGEWAY
        Use right-hand parallel carriageway.
      • USE_RIGHT_LANE

        public static final LaneUsageEnum USE_RIGHT_LANE
        Use right lane.
      • USE_THROUGH_TRAFFIC_LANES

        public static final LaneUsageEnum USE_THROUGH_TRAFFIC_LANES
        Use through traffic lanes.
      • OTHER

        public static final LaneUsageEnum OTHER
        Other than as defined in this enumeration.
    • Method Detail

      • values

        public static LaneUsageEnum[] 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 (LaneUsageEnum c : LaneUsageEnum.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static LaneUsageEnum valueOf​(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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • value

        public String value()