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