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