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