public enum LongitudeHemisphereType extends Enum<LongitudeHemisphereType>
Java class for LongitudeHemisphereType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="LongitudeHemisphereType">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="east"/>
<enumeration value="west"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
EAST
Eastern Hemisphere: The half of the surface of the Earth lying to the side of the 0 arc degree meridian in which direction the Earth rotates and ending at the 180 arc degree meridian.
|
WEST
Western Hemisphere: The half of the surface of the Earth lying to the side of the 0 arc degree meridian opposite to the direction in which the Earth rotates and ending at the 180 arc degree meridian.
|
| Modifier and Type | Method and Description |
|---|---|
static LongitudeHemisphereType |
fromValue(String v) |
String |
value() |
static LongitudeHemisphereType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LongitudeHemisphereType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LongitudeHemisphereType EAST
public static final LongitudeHemisphereType WEST
public static LongitudeHemisphereType[] values()
for (LongitudeHemisphereType c : LongitudeHemisphereType.values()) System.out.println(c);
public static LongitudeHemisphereType 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 LongitudeHemisphereType fromValue(String v)
Copyright © 2014–2016 Pink Summit, LLC. All rights reserved.