Package com.aparapi.internal.instruction
Enum InstructionSet.Operator
- All Implemented Interfaces:
Serializable
,Comparable<InstructionSet.Operator>
,java.lang.constant.Constable
- Enclosing class:
- InstructionSet
public static enum InstructionSet.Operator extends Enum<InstructionSet.Operator>
Represents an Operator
- Author:
- gfrost
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description Add
ArithmeticRightShift
BitwiseAnd
BitwiseOr
BitwiseXor
D2FCast
D2ICast
D2LCast
Div
Equal
EqualNULL
F2DCast
F2ICast
F2LCast
GreaterThan
GreaterThanOrEqual
I2BCast
I2CCast
I2DCast
I2FCast
I2LCast
I2SCast
L2DCast
L2FCast
L2ICast
LeftShift
LessThan
LessThanOrEqual
LogicalAnd
LogicalOr
LogicalRightShift
Mul
Neg
NONE
NotEqual
NotEqualNULL
Pos
Rem
Sub
-
Method Summary
Modifier and Type Method Description InstructionSet.Operator
getCompliment()
String
getText()
String
getText(boolean _invert)
boolean
isBinary()
boolean
isUnary()
static InstructionSet.Operator
valueOf(String name)
Returns the enum constant of this type with the specified name.static InstructionSet.Operator[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
NONE
-
LogicalOr
-
LogicalAnd
-
Equal
-
NotEqual
-
LessThan
-
GreaterThanOrEqual
-
GreaterThan
-
LessThanOrEqual
-
EqualNULL
-
NotEqualNULL
-
BitwiseOr
-
BitwiseAnd
-
BitwiseXor
-
LeftShift
-
ArithmeticRightShift
-
LogicalRightShift
-
Add
-
Sub
-
Div
-
Rem
-
Mul
-
Neg
-
Pos
-
I2FCast
-
I2LCast
-
I2DCast
-
L2ICast
-
L2FCast
-
L2DCast
-
F2ICast
-
F2LCast
-
F2DCast
-
D2ICast
-
D2LCast
-
D2FCast
-
I2BCast
-
I2CCast
-
I2SCast
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
getText
-
getCompliment
-
getText
-
isBinary
public boolean isBinary() -
isUnary
public boolean isUnary()
-