protected static enum GrahamScan.Turn extends Enum<GrahamScan.Turn>
| Enum Constant and Description |
|---|
CLOCKWISE |
COLLINEAR |
COUNTER_CLOCKWISE |
| Modifier and Type | Method and Description |
|---|---|
static GrahamScan.Turn |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GrahamScan.Turn[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GrahamScan.Turn CLOCKWISE
public static final GrahamScan.Turn COUNTER_CLOCKWISE
public static final GrahamScan.Turn COLLINEAR
public static GrahamScan.Turn[] values()
for (GrahamScan.Turn c : GrahamScan.Turn.values()) System.out.println(c);
public static GrahamScan.Turn 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 null