public enum Direction8 extends java.lang.Enum<Direction8>
| Enum Constant and Description | 
|---|
EAST  | 
NORTH  | 
NORTH_EAST  | 
NORTH_WEST  | 
SOUTH  | 
SOUTH_EAST  | 
SOUTH_WEST  | 
WEST  | 
| Modifier and Type | Method and Description | 
|---|---|
java.util.Set<Direction> | 
getDirections()  | 
static Direction8 | 
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. 
 | 
static Direction8[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final Direction8 NORTH
public static final Direction8 NORTH_EAST
public static final Direction8 EAST
public static final Direction8 SOUTH_EAST
public static final Direction8 SOUTH
public static final Direction8 SOUTH_WEST
public static final Direction8 WEST
public static final Direction8 NORTH_WEST
public static Direction8[] values()
for (Direction8 c : Direction8.values()) System.out.println(c);
public static Direction8 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 java.util.Set<Direction> getDirections()