public static enum IBinaryOpInstruction.Operator extends Enum<IBinaryOpInstruction.Operator> implements IBinaryOpInstruction.IOperator
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static IBinaryOpInstruction.Operator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IBinaryOpInstruction.Operator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IBinaryOpInstruction.Operator ADD
public static final IBinaryOpInstruction.Operator SUB
public static final IBinaryOpInstruction.Operator MUL
public static final IBinaryOpInstruction.Operator DIV
public static final IBinaryOpInstruction.Operator REM
public static final IBinaryOpInstruction.Operator AND
public static final IBinaryOpInstruction.Operator OR
public static final IBinaryOpInstruction.Operator XOR
public static IBinaryOpInstruction.Operator[] values()
for (IBinaryOpInstruction.Operator c : IBinaryOpInstruction.Operator.values()) System.out.println(c);
public static IBinaryOpInstruction.Operator 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 String toString()
toString
in class Enum<IBinaryOpInstruction.Operator>