org.drools.rule.constraint
Enum ConditionAnalyzer.AritmeticOperator

java.lang.Object
  extended by java.lang.Enum<ConditionAnalyzer.AritmeticOperator>
      extended by org.drools.rule.constraint.ConditionAnalyzer.AritmeticOperator
All Implemented Interfaces:
Serializable, Comparable<ConditionAnalyzer.AritmeticOperator>
Enclosing class:
ConditionAnalyzer

public static enum ConditionAnalyzer.AritmeticOperator
extends Enum<ConditionAnalyzer.AritmeticOperator>


Enum Constant Summary
ADD
           
BW_AND
           
BW_OR
           
BW_SHIFT_LEFT
           
BW_SHIFT_RIGHT
           
BW_USHIFT_LEFT
           
BW_USHIFT_RIGHT
           
BW_XOR
           
DIV
           
MOD
           
MUL
           
POW
           
SUB
           
 
Method Summary
static ConditionAnalyzer.AritmeticOperator fromMvelOpCode(int opCode)
           
 boolean isBitwiseOperation()
           
 String toString()
           
static ConditionAnalyzer.AritmeticOperator valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ConditionAnalyzer.AritmeticOperator[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ADD

public static final ConditionAnalyzer.AritmeticOperator ADD

SUB

public static final ConditionAnalyzer.AritmeticOperator SUB

MUL

public static final ConditionAnalyzer.AritmeticOperator MUL

DIV

public static final ConditionAnalyzer.AritmeticOperator DIV

MOD

public static final ConditionAnalyzer.AritmeticOperator MOD

POW

public static final ConditionAnalyzer.AritmeticOperator POW

BW_AND

public static final ConditionAnalyzer.AritmeticOperator BW_AND

BW_OR

public static final ConditionAnalyzer.AritmeticOperator BW_OR

BW_XOR

public static final ConditionAnalyzer.AritmeticOperator BW_XOR

BW_SHIFT_RIGHT

public static final ConditionAnalyzer.AritmeticOperator BW_SHIFT_RIGHT

BW_SHIFT_LEFT

public static final ConditionAnalyzer.AritmeticOperator BW_SHIFT_LEFT

BW_USHIFT_RIGHT

public static final ConditionAnalyzer.AritmeticOperator BW_USHIFT_RIGHT

BW_USHIFT_LEFT

public static final ConditionAnalyzer.AritmeticOperator BW_USHIFT_LEFT
Method Detail

values

public static ConditionAnalyzer.AritmeticOperator[] 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 (ConditionAnalyzer.AritmeticOperator c : ConditionAnalyzer.AritmeticOperator.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ConditionAnalyzer.AritmeticOperator 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 name
NullPointerException - if the argument is null

toString

public String toString()
Overrides:
toString in class Enum<ConditionAnalyzer.AritmeticOperator>

isBitwiseOperation

public boolean isBitwiseOperation()

fromMvelOpCode

public static ConditionAnalyzer.AritmeticOperator fromMvelOpCode(int opCode)


Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.