Enum DirectionType

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

    public enum DirectionType
    extends java.lang.Enum<DirectionType>
    Direction types
    • Enum Constant Detail

      • CONTINUE

        public static final DirectionType CONTINUE
        Continue driving ahead
      • STRAIGHT

        public static final DirectionType STRAIGHT
        Straight on
      • BEAR_LEFT

        public static final DirectionType BEAR_LEFT
        Bear left
      • BEAR_RIGHT

        public static final DirectionType BEAR_RIGHT
        Bear right
      • KEEP_LEFT

        public static final DirectionType KEEP_LEFT
        Keep left
      • KEEP_RIGHT

        public static final DirectionType KEEP_RIGHT
        Keep right
      • TURN_LEFT

        public static final DirectionType TURN_LEFT
        Turn left
      • TURN_RIGHT

        public static final DirectionType TURN_RIGHT
        Turn right
      • U_TURN_LEFT

        public static final DirectionType U_TURN_LEFT
        U turn left
      • U_TURN_RIGHT

        public static final DirectionType U_TURN_RIGHT
        U turn right
      • EXIT_LEFT

        public static final DirectionType EXIT_LEFT
        Exit left
      • EXIT_RIGHT

        public static final DirectionType EXIT_RIGHT
        Exit right
      • JOIN_LEFT

        public static final DirectionType JOIN_LEFT
        Join left
      • JOIN_RIGHT

        public static final DirectionType JOIN_RIGHT
        Join right
      • ROUNDABOUT_CLOCKWISE

        public static final DirectionType ROUNDABOUT_CLOCKWISE
        Roundabout clockwise
      • ROUNDABOUT_ANTICLOCKWISE

        public static final DirectionType ROUNDABOUT_ANTICLOCKWISE
        Roundabout counterclockwise
      • TAKE_FERRY

        public static final DirectionType TAKE_FERRY
        Take the ferry
      • WAYPOINT_REACHED

        public static final DirectionType WAYPOINT_REACHED
        Waypoint reached
      • PARK_AND_PROCEED_BY_FOOT

        public static final DirectionType PARK_AND_PROCEED_BY_FOOT
        Park and proceed by foot
    • Method Detail

      • values

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

        public static DirectionType 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