public enum TravelStatus extends Enum<TravelStatus>
| Enum Constant and Description |
|---|
LookingForJump
looking for jump opcode
|
LookingForLabel
looking for label opcode
|
Normal
traveling common bytecode
|
| Modifier and Type | Method and Description |
|---|---|
static TravelStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TravelStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TravelStatus Normal
public static final TravelStatus LookingForLabel
public static final TravelStatus LookingForJump
public static TravelStatus[] values()
for (TravelStatus c : TravelStatus.values()) System.out.println(c);
public static TravelStatus 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 © 2021. All rights reserved.