Enum EarthHemisphere

  • All Implemented Interfaces:
    Serializable, Comparable<EarthHemisphere>

    public enum EarthHemisphere
    extends Enum<EarthHemisphere>
    Enumerate for Earth hemispheres for tiles definition.

    For Latitude: NORTH / SOUTH

    For Longitude: WESTEXTREME / WEST / EAST / EASTEXTREME

    Since:
    4.0
    Author:
    Guylaine Prat
    • Method Detail

      • values

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

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