Enum Heading

    • Enum Constant Detail

      • SOUTH

        public static final Heading SOUTH
      • SOUTH_SOUTH_WEST

        public static final Heading SOUTH_SOUTH_WEST
      • SOUTH_WEST

        public static final Heading SOUTH_WEST
      • WEST_SOUTH_WEST

        public static final Heading WEST_SOUTH_WEST
      • WEST

        public static final Heading WEST
      • WEST_NORTH_WEST

        public static final Heading WEST_NORTH_WEST
      • NORTH_WEST

        public static final Heading NORTH_WEST
      • NORTH_NORTH_WEST

        public static final Heading NORTH_NORTH_WEST
      • NORTH

        public static final Heading NORTH
      • NORTH_NORTH_EAST

        public static final Heading NORTH_NORTH_EAST
      • NORTH_EAST

        public static final Heading NORTH_EAST
      • EAST_NORTH_EAST

        public static final Heading EAST_NORTH_EAST
      • EAST

        public static final Heading EAST
      • EAST_SOUTH_EAST

        public static final Heading EAST_SOUTH_EAST
      • SOUTH_EAST

        public static final Heading SOUTH_EAST
      • SOUTH_SOUTH_EAST

        public static final Heading SOUTH_SOUTH_EAST
    • Method Detail

      • values

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

        public static Heading 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
      • getValue

        public int getValue()