public static enum SPARCAssembler.BranchPredict extends Enum<SPARCAssembler.BranchPredict>
Enum Constant and Description |
---|
PREDICT_NOT_TAKEN |
PREDICT_TAKEN |
Modifier and Type | Field and Description |
---|---|
int |
flag |
Modifier and Type | Method and Description |
---|---|
static SPARCAssembler.BranchPredict |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SPARCAssembler.BranchPredict[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SPARCAssembler.BranchPredict PREDICT_TAKEN
public static final SPARCAssembler.BranchPredict PREDICT_NOT_TAKEN
public final int flag
public static SPARCAssembler.BranchPredict[] values()
for (SPARCAssembler.BranchPredict c : SPARCAssembler.BranchPredict.values()) System.out.println(c);
public static SPARCAssembler.BranchPredict 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 null