public enum FlipMethod extends Enum<FlipMethod>
| Modifier and Type | Field and Description |
|---|---|
private int |
flips |
| Modifier and Type | Method and Description |
|---|---|
int |
getFlips() |
static FlipMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FlipMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FlipMethod SINGLE
public static final FlipMethod DOUBLE
public static final FlipMethod NONE
public static FlipMethod[] values()
for (FlipMethod c : FlipMethod.values()) System.out.println(c);
public static FlipMethod 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 int getFlips()