Package com.ibm.wala.shrikeBT
Enum IShiftInstruction.Operator
- java.lang.Object
-
- java.lang.Enum<IShiftInstruction.Operator>
-
- com.ibm.wala.shrikeBT.IShiftInstruction.Operator
-
- All Implemented Interfaces:
IBinaryOpInstruction.IOperator
,Serializable
,Comparable<IShiftInstruction.Operator>
- Enclosing interface:
- IShiftInstruction
public static enum IShiftInstruction.Operator extends Enum<IShiftInstruction.Operator> implements IBinaryOpInstruction.IOperator
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IShiftInstruction.Operator
valueOf(String name)
Returns the enum constant of this type with the specified name.static IShiftInstruction.Operator[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SHL
public static final IShiftInstruction.Operator SHL
-
SHR
public static final IShiftInstruction.Operator SHR
-
USHR
public static final IShiftInstruction.Operator USHR
-
-
Method Detail
-
values
public static IShiftInstruction.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 (IShiftInstruction.Operator c : IShiftInstruction.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 IShiftInstruction.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
-
-