public static enum MotorPullDirection.Direction extends Enum<MotorPullDirection.Direction>
| Modifier and Type | Method and Description |
|---|---|
static MotorPullDirection.Direction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MotorPullDirection.Direction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MotorPullDirection.Direction PLUS
public static final MotorPullDirection.Direction MINUS
public static MotorPullDirection.Direction[] values()
for (MotorPullDirection.Direction c : MotorPullDirection.Direction.values()) System.out.println(c);
public static MotorPullDirection.Direction valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2019. All rights reserved.