public static enum Shuffling.Stage extends java.lang.Enum<Shuffling.Stage>
Enum Constant and Description |
---|
BLAME |
CANCELLED |
DONE |
PROCESSING |
REGISTRATION |
VERIFICATION |
Modifier and Type | Method and Description |
---|---|
boolean |
canBecome(Shuffling.Stage nextStage) |
static Shuffling.Stage |
get(byte code) |
byte |
getCode() |
static Shuffling.Stage |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Shuffling.Stage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Shuffling.Stage REGISTRATION
public static final Shuffling.Stage PROCESSING
public static final Shuffling.Stage VERIFICATION
public static final Shuffling.Stage BLAME
public static final Shuffling.Stage CANCELLED
public static final Shuffling.Stage DONE
public static Shuffling.Stage[] values()
for (Shuffling.Stage c : Shuffling.Stage.values()) System.out.println(c);
public static Shuffling.Stage 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 static Shuffling.Stage get(byte code)
public byte getCode()
public boolean canBecome(Shuffling.Stage nextStage)