public enum LatitudeHemisphereType extends Enum<LatitudeHemisphereType>
Java class for LatitudeHemisphereType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="LatitudeHemisphereType">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="north"/>
<enumeration value="south"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
NORTH
Northern Hemisphere: The half of the surface of the Earth lying to the side of the Equator in the direction of the star Polaris.
|
SOUTH
Southern Hemisphere: The half of the surface of the Earth lying to the side of the Equator in the opposite direction of the star Polaris.
|
| Modifier and Type | Method and Description |
|---|---|
static LatitudeHemisphereType |
fromValue(String v) |
String |
value() |
static LatitudeHemisphereType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LatitudeHemisphereType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LatitudeHemisphereType NORTH
public static final LatitudeHemisphereType SOUTH
public static LatitudeHemisphereType[] values()
for (LatitudeHemisphereType c : LatitudeHemisphereType.values()) System.out.println(c);
public static LatitudeHemisphereType 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 nullpublic String value()
public static LatitudeHemisphereType fromValue(String v)
Copyright © 2014–2016 Pink Summit, LLC. All rights reserved.