public static enum Angle.Units extends java.lang.Enum<Angle.Units>
Enum Constant and Description |
---|
ARCMINUTES |
ARCSECONDS |
DEGREES |
HOURS |
RADIANS |
TIMEMINUTES |
TIMESECONDS |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getSymbol() |
static Angle.Units |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Angle.Units[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Angle.Units ARCMINUTES
public static final Angle.Units ARCSECONDS
public static final Angle.Units DEGREES
public static final Angle.Units HOURS
public static final Angle.Units RADIANS
public static final Angle.Units TIMEMINUTES
public static final Angle.Units TIMESECONDS
public static Angle.Units[] values()
for (Angle.Units c : Angle.Units.values()) System.out.println(c);
public static Angle.Units valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getSymbol()