org.duelengine.duel.codedom
Enum CodeBinaryOperatorType

java.lang.Object
  extended by java.lang.Enum<CodeBinaryOperatorType>
      extended by org.duelengine.duel.codedom.CodeBinaryOperatorType
All Implemented Interfaces:
Serializable, Comparable<CodeBinaryOperatorType>

public enum CodeBinaryOperatorType
extends Enum<CodeBinaryOperatorType>


Enum Constant Summary
ADD
           
ADD_ASSIGN
           
ASSIGN
           
BITWISE_AND
           
BITWISE_AND_ASSIGN
           
BITWISE_OR
           
BITWISE_OR_ASSIGN
           
BITWISE_XOR
           
BITWISE_XOR_ASSIGN
           
BOOLEAN_AND
           
BOOLEAN_OR
           
DIVIDE
           
DIVIDE_ASSIGN
           
GREATER_THAN
           
GREATER_THAN_OR_EQUAL
           
IDENTITY_EQUALITY
           
IDENTITY_INEQUALITY
           
LESS_THAN
           
LESS_THAN_OR_EQUAL
           
MODULUS
           
MODULUS_ASSIGN
           
MULTIPLY
           
MULTIPLY_ASSIGN
           
NONE
           
SHIFT_LEFT
           
SHIFT_LEFT_ASSIGN
           
SHIFT_RIGHT
           
SHIFT_RIGHT_ASSIGN
           
SUBTRACT
           
SUBTRACT_ASSIGN
           
USHIFT_RIGHT
           
USHIFT_RIGHT_ASSIGN
           
VALUE_EQUALITY
           
VALUE_INEQUALITY
           
 
Method Summary
static CodeBinaryOperatorType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CodeBinaryOperatorType[] 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

NONE

public static final CodeBinaryOperatorType NONE

ASSIGN

public static final CodeBinaryOperatorType ASSIGN

ADD

public static final CodeBinaryOperatorType ADD

ADD_ASSIGN

public static final CodeBinaryOperatorType ADD_ASSIGN

SUBTRACT

public static final CodeBinaryOperatorType SUBTRACT

SUBTRACT_ASSIGN

public static final CodeBinaryOperatorType SUBTRACT_ASSIGN

MULTIPLY

public static final CodeBinaryOperatorType MULTIPLY

MULTIPLY_ASSIGN

public static final CodeBinaryOperatorType MULTIPLY_ASSIGN

DIVIDE

public static final CodeBinaryOperatorType DIVIDE

DIVIDE_ASSIGN

public static final CodeBinaryOperatorType DIVIDE_ASSIGN

MODULUS

public static final CodeBinaryOperatorType MODULUS

MODULUS_ASSIGN

public static final CodeBinaryOperatorType MODULUS_ASSIGN

BITWISE_OR

public static final CodeBinaryOperatorType BITWISE_OR

BITWISE_OR_ASSIGN

public static final CodeBinaryOperatorType BITWISE_OR_ASSIGN

BITWISE_AND

public static final CodeBinaryOperatorType BITWISE_AND

BITWISE_AND_ASSIGN

public static final CodeBinaryOperatorType BITWISE_AND_ASSIGN

BITWISE_XOR

public static final CodeBinaryOperatorType BITWISE_XOR

BITWISE_XOR_ASSIGN

public static final CodeBinaryOperatorType BITWISE_XOR_ASSIGN

SHIFT_LEFT

public static final CodeBinaryOperatorType SHIFT_LEFT

SHIFT_LEFT_ASSIGN

public static final CodeBinaryOperatorType SHIFT_LEFT_ASSIGN

SHIFT_RIGHT

public static final CodeBinaryOperatorType SHIFT_RIGHT

SHIFT_RIGHT_ASSIGN

public static final CodeBinaryOperatorType SHIFT_RIGHT_ASSIGN

USHIFT_RIGHT

public static final CodeBinaryOperatorType USHIFT_RIGHT

USHIFT_RIGHT_ASSIGN

public static final CodeBinaryOperatorType USHIFT_RIGHT_ASSIGN

BOOLEAN_OR

public static final CodeBinaryOperatorType BOOLEAN_OR

BOOLEAN_AND

public static final CodeBinaryOperatorType BOOLEAN_AND

LESS_THAN

public static final CodeBinaryOperatorType LESS_THAN

LESS_THAN_OR_EQUAL

public static final CodeBinaryOperatorType LESS_THAN_OR_EQUAL

GREATER_THAN

public static final CodeBinaryOperatorType GREATER_THAN

GREATER_THAN_OR_EQUAL

public static final CodeBinaryOperatorType GREATER_THAN_OR_EQUAL

VALUE_EQUALITY

public static final CodeBinaryOperatorType VALUE_EQUALITY

VALUE_INEQUALITY

public static final CodeBinaryOperatorType VALUE_INEQUALITY

IDENTITY_EQUALITY

public static final CodeBinaryOperatorType IDENTITY_EQUALITY

IDENTITY_INEQUALITY

public static final CodeBinaryOperatorType IDENTITY_INEQUALITY
Method Detail

values

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

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

valueOf

public static CodeBinaryOperatorType 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


Copyright © 2011. All Rights Reserved.