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 | Field and Description |
---|---|
private java.util.Set<Direction> |
directions |
private static int |
field_208500_i |
private static int |
field_208501_j |
private static int |
field_208502_k |
private static int |
field_208503_l |
private static int |
field_208504_m |
private static int |
field_208505_n |
private static int |
field_208506_o |
private static int |
field_208507_p |
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
private static final int field_208500_i
private static final int field_208501_j
private static final int field_208502_k
private static final int field_208503_l
private static final int field_208504_m
private static final int field_208505_n
private static final int field_208506_o
private static final int field_208507_p
private final java.util.Set<Direction> directions
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()