public static enum IPosition.Direction extends Enum<IPosition.Direction>
| Enum Constant and Description |
|---|
BACKWARDS |
DOWN |
FORWARD |
LEFT |
RIGHT |
UP |
| Modifier and Type | Method and Description |
|---|---|
static IPosition.Direction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IPosition.Direction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IPosition.Direction FORWARD
public static final IPosition.Direction BACKWARDS
public static final IPosition.Direction LEFT
public static final IPosition.Direction RIGHT
public static final IPosition.Direction UP
public static final IPosition.Direction DOWN
public static IPosition.Direction[] values()
for (IPosition.Direction c : IPosition.Direction.values()) System.out.println(c);
public static IPosition.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 © 2018. All rights reserved.