Package com.ibm.wala.shrikeBT
Enum IBinaryOpInstruction.Operator
- java.lang.Object
-
- java.lang.Enum<IBinaryOpInstruction.Operator>
-
- com.ibm.wala.shrikeBT.IBinaryOpInstruction.Operator
-
- All Implemented Interfaces:
IBinaryOpInstruction.IOperator
,Serializable
,Comparable<IBinaryOpInstruction.Operator>
- Enclosing interface:
- IBinaryOpInstruction
public static enum IBinaryOpInstruction.Operator extends Enum<IBinaryOpInstruction.Operator> implements IBinaryOpInstruction.IOperator
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Enum Constant Detail
-
ADD
public static final IBinaryOpInstruction.Operator ADD
-
SUB
public static final IBinaryOpInstruction.Operator SUB
-
MUL
public static final IBinaryOpInstruction.Operator MUL
-
DIV
public static final IBinaryOpInstruction.Operator DIV
-
REM
public static final IBinaryOpInstruction.Operator REM
-
AND
public static final IBinaryOpInstruction.Operator AND
-
OR
public static final IBinaryOpInstruction.Operator OR
-
XOR
public static final IBinaryOpInstruction.Operator XOR
-
-
Method Detail
-
values
public static IBinaryOpInstruction.Operator[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (IBinaryOpInstruction.Operator c : IBinaryOpInstruction.Operator.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IBinaryOpInstruction.Operator valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
public String toString()
- Overrides:
toString
in classEnum<IBinaryOpInstruction.Operator>
-
-