org.norecess.citkit.lir.expressions
Enum LIRBinaryExpression.BinaryOperator

java.lang.Object
  extended by java.lang.Enum<LIRBinaryExpression.BinaryOperator>
      extended by org.norecess.citkit.lir.expressions.LIRBinaryExpression.BinaryOperator
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<LIRBinaryExpression.BinaryOperator>
Enclosing class:
LIRBinaryExpression

public static enum LIRBinaryExpression.BinaryOperator
extends java.lang.Enum<LIRBinaryExpression.BinaryOperator>


Enum Constant Summary
ADD
           
AND
           
DIVIDE
           
DOT
           
EQUALS
           
GREATER_EQUALS
           
GREATER_THAN
           
LESS_EQUALS
           
LESS_THAN
           
MAX
           
MIN
           
MODULUS
           
MULTIPLY
           
NOT_EQUALS
           
OR
           
SHIFT_LEFT
           
SHIFT_RIGHT
           
SHIFT_RIGHT_ARITHMETIC
           
STAR_DOT
           
SUBTRACT
           
XOR
           
 
Method Summary
static LIRBinaryExpression.BinaryOperator valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static LIRBinaryExpression.BinaryOperator[] 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, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ADD

public static final LIRBinaryExpression.BinaryOperator ADD

SUBTRACT

public static final LIRBinaryExpression.BinaryOperator SUBTRACT

MULTIPLY

public static final LIRBinaryExpression.BinaryOperator MULTIPLY

DIVIDE

public static final LIRBinaryExpression.BinaryOperator DIVIDE

MODULUS

public static final LIRBinaryExpression.BinaryOperator MODULUS

MIN

public static final LIRBinaryExpression.BinaryOperator MIN

MAX

public static final LIRBinaryExpression.BinaryOperator MAX

SHIFT_LEFT

public static final LIRBinaryExpression.BinaryOperator SHIFT_LEFT

SHIFT_RIGHT

public static final LIRBinaryExpression.BinaryOperator SHIFT_RIGHT

SHIFT_RIGHT_ARITHMETIC

public static final LIRBinaryExpression.BinaryOperator SHIFT_RIGHT_ARITHMETIC

AND

public static final LIRBinaryExpression.BinaryOperator AND

OR

public static final LIRBinaryExpression.BinaryOperator OR

XOR

public static final LIRBinaryExpression.BinaryOperator XOR

DOT

public static final LIRBinaryExpression.BinaryOperator DOT

STAR_DOT

public static final LIRBinaryExpression.BinaryOperator STAR_DOT

EQUALS

public static final LIRBinaryExpression.BinaryOperator EQUALS

NOT_EQUALS

public static final LIRBinaryExpression.BinaryOperator NOT_EQUALS

LESS_THAN

public static final LIRBinaryExpression.BinaryOperator LESS_THAN

LESS_EQUALS

public static final LIRBinaryExpression.BinaryOperator LESS_EQUALS

GREATER_THAN

public static final LIRBinaryExpression.BinaryOperator GREATER_THAN

GREATER_EQUALS

public static final LIRBinaryExpression.BinaryOperator GREATER_EQUALS
Method Detail

values

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

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

valueOf

public static LIRBinaryExpression.BinaryOperator valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null