public enum EdgeDirection extends java.lang.Enum<EdgeDirection>
Enum Constant and Description |
---|
North |
NorthEast |
NorthWest |
South |
SouthEast |
SouthWest |
Modifier and Type | Field and Description |
---|---|
private EdgeDirection |
opposite |
Modifier and Type | Method and Description |
---|---|
EdgeDirection |
getOppositeDirection() |
static java.lang.String |
toString(EdgeDirection e) |
static EdgeDirection |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EdgeDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EdgeDirection NorthWest
public static final EdgeDirection North
public static final EdgeDirection NorthEast
public static final EdgeDirection SouthEast
public static final EdgeDirection South
public static final EdgeDirection SouthWest
private EdgeDirection opposite
public static EdgeDirection[] values()
for (EdgeDirection c : EdgeDirection.values()) System.out.println(c);
public static EdgeDirection 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 EdgeDirection getOppositeDirection()
public static java.lang.String toString(EdgeDirection e)