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