public enum EarthHemisphere extends Enum<EarthHemisphere>
For Latitude: NORTH / SOUTH
For Longitude: WESTEXTREME / WEST / EAST / EASTEXTREME
Enum Constant and Description |
---|
EAST
East hemisphere.
|
EASTEXTREME
Extreme East.
|
NORTH
North hemisphere.
|
SOUTH
South hemisphere.
|
WEST
West hemisphere.
|
WESTEXTREME
Extreme West.
|
Modifier and Type | Method and Description |
---|---|
static EarthHemisphere |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EarthHemisphere[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EarthHemisphere SOUTH
public static final EarthHemisphere NORTH
public static final EarthHemisphere WESTEXTREME
public static final EarthHemisphere WEST
public static final EarthHemisphere EAST
public static final EarthHemisphere EASTEXTREME
public static EarthHemisphere[] values()
for (EarthHemisphere c : EarthHemisphere.values()) System.out.println(c);
public static EarthHemisphere valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2014-2023 CS GROUP. All rights reserved.