de.upb.hni.vmagic.expression
Enum ExpressionKind

java.lang.Object
  extended by java.lang.Enum<ExpressionKind>
      extended by de.upb.hni.vmagic.expression.ExpressionKind
All Implemented Interfaces:
OutputEnum, java.io.Serializable, java.lang.Comparable<ExpressionKind>

public enum ExpressionKind
extends java.lang.Enum<ExpressionKind>
implements OutputEnum

Expression kind.


Enum Constant Summary
ABS
           
AND
           
CONCATENATE
           
DIVIDE
           
EQUALS
           
GREATER_EQUALS
           
GREATER_THAN
           
LESS_EQUALS
           
LESS_THAN
           
MINUS
           
MOD
           
MULTIPLY
           
NAND
           
NOR
           
NOT
           
NOT_EQUALS
           
OR
           
PLUS
           
POW
           
REM
           
ROL
           
ROR
           
SLA
           
SLL
           
SRA
           
SRL
           
XNOR
           
XOR
           
 
Method Summary
 java.lang.String getLowerCase()
          Returns a lower case version of this enum.
 java.lang.String getUpperCase()
          Returns a upper case version of this enum.
static ExpressionKind valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ExpressionKind[] 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

ABS

public static final ExpressionKind ABS

AND

public static final ExpressionKind AND

MOD

public static final ExpressionKind MOD

NAND

public static final ExpressionKind NAND

NOR

public static final ExpressionKind NOR

NOT

public static final ExpressionKind NOT

OR

public static final ExpressionKind OR

REM

public static final ExpressionKind REM

ROL

public static final ExpressionKind ROL

ROR

public static final ExpressionKind ROR

SLA

public static final ExpressionKind SLA

SLL

public static final ExpressionKind SLL

SRA

public static final ExpressionKind SRA

SRL

public static final ExpressionKind SRL

XNOR

public static final ExpressionKind XNOR

XOR

public static final ExpressionKind XOR

EQUALS

public static final ExpressionKind EQUALS

NOT_EQUALS

public static final ExpressionKind NOT_EQUALS

LESS_THAN

public static final ExpressionKind LESS_THAN

LESS_EQUALS

public static final ExpressionKind LESS_EQUALS

GREATER_THAN

public static final ExpressionKind GREATER_THAN

GREATER_EQUALS

public static final ExpressionKind GREATER_EQUALS

PLUS

public static final ExpressionKind PLUS

MINUS

public static final ExpressionKind MINUS

CONCATENATE

public static final ExpressionKind CONCATENATE

MULTIPLY

public static final ExpressionKind MULTIPLY

DIVIDE

public static final ExpressionKind DIVIDE

POW

public static final ExpressionKind POW
Method Detail

values

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

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

valueOf

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

getLowerCase

public java.lang.String getLowerCase()
Description copied from interface: OutputEnum
Returns a lower case version of this enum.

Specified by:
getLowerCase in interface OutputEnum
Returns:
a lower case version

getUpperCase

public java.lang.String getUpperCase()
Description copied from interface: OutputEnum
Returns a upper case version of this enum.

Specified by:
getUpperCase in interface OutputEnum
Returns:
a upper case version