public enum ManeuverWeight extends java.lang.Enum<ManeuverWeight>
Enum Constant and Description |
---|
Error
Invalid manoeuvre weight.
|
Normal
Indicate a change of direction of about 45° to 135°.
|
Strong
Indicate a change of direction of more than 135.
|
Weak
Indicate a change of direction of less than 45°.
|
Modifier and Type | Method and Description |
---|---|
int |
getId() |
static ManeuverWeight |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ManeuverWeight[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ManeuverWeight Error
public static final ManeuverWeight Normal
public static final ManeuverWeight Weak
public static final ManeuverWeight Strong
public static ManeuverWeight[] values()
for (ManeuverWeight c : ManeuverWeight.values()) System.out.println(c);
public static ManeuverWeight 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 int getId()