public enum Side extends Enum<Side >
| Modifier and Type | Method and Description |
|---|---|
static Side |
valueOf(String
Returns the enum constant of this type with the specified name.
|
static Side |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final SideLEFT
public static final SideRIGHT
public static final SideON
public static Side[] values()
for (Side c : Side.values()) System.out.println(c);
public static SidevalueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null