forge.program
Enum BinaryExpression.Op

java.lang.Object
  extended by java.lang.Enum<BinaryExpression.Op>
      extended by forge.program.BinaryExpression.Op
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<BinaryExpression.Op>
Enclosing class:
BinaryExpression

public static enum BinaryExpression.Op
extends java.lang.Enum<BinaryExpression.Op>


Enum Constant Summary
AND
          boolean and
BIT_AND
          bitwise and
BIT_OR
          boolean xor
BIT_XOR
          boolean xor
DIFFERENCE
          relational difference
DIVIDE
          integer division
EQUALS
          relational equality
GT
          integer greater than
GTE
          integer greater than or equal
IFF
          boolean if and only if
IMPLIES
          boolean implies
INTERSECTION
          relational intersection
JOIN
          relational join
LT
          integer less than
LTE
          integer less than or equal
MINUS
          integer subtraction
MODULO
          integer modulo division
OR
          boolean or
OVERRIDE
          relational override
PLUS
          integer addition
PRODUCT
          relational product
SHL
          integer bit shift left
SHR
          integer bit shift right
SUBSET
          relational subset
TIMES
          integer multiplication
UNION
          relational union
USHR
          integer unsigned bit shift right
XOR
          boolean or
 
Method Summary
 java.lang.String toString()
           
static BinaryExpression.Op valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static BinaryExpression.Op[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

UNION

public static final BinaryExpression.Op UNION
relational union


DIFFERENCE

public static final BinaryExpression.Op DIFFERENCE
relational difference


INTERSECTION

public static final BinaryExpression.Op INTERSECTION
relational intersection


JOIN

public static final BinaryExpression.Op JOIN
relational join


PRODUCT

public static final BinaryExpression.Op PRODUCT
relational product


OVERRIDE

public static final BinaryExpression.Op OVERRIDE
relational override


EQUALS

public static final BinaryExpression.Op EQUALS
relational equality


SUBSET

public static final BinaryExpression.Op SUBSET
relational subset


AND

public static final BinaryExpression.Op AND
boolean and


OR

public static final BinaryExpression.Op OR
boolean or


XOR

public static final BinaryExpression.Op XOR
boolean or


IMPLIES

public static final BinaryExpression.Op IMPLIES
boolean implies


IFF

public static final BinaryExpression.Op IFF
boolean if and only if


LT

public static final BinaryExpression.Op LT
integer less than


GT

public static final BinaryExpression.Op GT
integer greater than


LTE

public static final BinaryExpression.Op LTE
integer less than or equal


GTE

public static final BinaryExpression.Op GTE
integer greater than or equal


PLUS

public static final BinaryExpression.Op PLUS
integer addition


MINUS

public static final BinaryExpression.Op MINUS
integer subtraction


TIMES

public static final BinaryExpression.Op TIMES
integer multiplication


DIVIDE

public static final BinaryExpression.Op DIVIDE
integer division


MODULO

public static final BinaryExpression.Op MODULO
integer modulo division


BIT_AND

public static final BinaryExpression.Op BIT_AND
bitwise and


BIT_OR

public static final BinaryExpression.Op BIT_OR
boolean xor


BIT_XOR

public static final BinaryExpression.Op BIT_XOR
boolean xor


SHL

public static final BinaryExpression.Op SHL
integer bit shift left


SHR

public static final BinaryExpression.Op SHR
integer bit shift right


USHR

public static final BinaryExpression.Op USHR
integer unsigned bit shift right

Method Detail

values

public static final BinaryExpression.Op[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(BinaryExpression.Op c : BinaryExpression.Op.values())
        System.out.println(c);

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

valueOf

public static BinaryExpression.Op 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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<BinaryExpression.Op>