public enum HeadingTypes extends java.lang.Enum<HeadingTypes>
Enum Constant and Description |
---|
MAGNETIC |
RELATIVE1 |
RELATIVE2 |
TRUE |
Modifier and Type | Method and Description |
---|---|
static HeadingTypes |
getValue(java.lang.String val) |
static HeadingTypes |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HeadingTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HeadingTypes RELATIVE1
public static final HeadingTypes RELATIVE2
public static final HeadingTypes TRUE
public static final HeadingTypes MAGNETIC
public static HeadingTypes[] values()
for (HeadingTypes c : HeadingTypes.values()) System.out.println(c);
public static HeadingTypes 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 static HeadingTypes getValue(java.lang.String val)