public enum UnitsOfAngle extends Enum<UnitsOfAngle>
Java class for Units_of_Angle.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="Units_of_Angle"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="arcmin"/> <enumeration value="arcsec"/> <enumeration value="deg"/> <enumeration value="hr"/> <enumeration value="mrad"/> <enumeration value="rad"/> </restriction> </simpleType>
Modifier and Type | Method and Description |
---|---|
static UnitsOfAngle |
fromValue(String v) |
String |
value() |
static UnitsOfAngle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UnitsOfAngle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UnitsOfAngle ARCMIN
public static final UnitsOfAngle ARCSEC
public static final UnitsOfAngle DEG
public static final UnitsOfAngle HR
public static final UnitsOfAngle MRAD
public static final UnitsOfAngle RAD
public static UnitsOfAngle[] values()
for (UnitsOfAngle c : UnitsOfAngle.values()) System.out.println(c);
public static UnitsOfAngle 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 UnitsOfAngle fromValue(String v)
Copyright © 2010–2018 Planetary Data System. All rights reserved.