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