public enum SpiderRotation extends Enum<SpiderRotation>
SpiderRotation class.
| Enum Constant and Description |
|---|
ANTICLOCKWISE |
CLOCKWISE |
| Modifier and Type | Method and Description |
|---|---|
static SpiderRotation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SpiderRotation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SpiderRotation CLOCKWISE
public static final SpiderRotation ANTICLOCKWISE
public static SpiderRotation[] values()
for (SpiderRotation c : SpiderRotation.values()) System.out.println(c);
public static SpiderRotation 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 nullCopyright © 2010–2021. All rights reserved.