de.unkrig.commons.text.expression
Enum Parser.BinaryOperator

java.lang.Object
  extended by java.lang.Enum<Parser.BinaryOperator>
      extended by de.unkrig.commons.text.expression.Parser.BinaryOperator
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Parser.BinaryOperator>
Enclosing class:
Parser<T,E extends java.lang.Exception>

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

Representation of all binary operators.


Enum Constant Summary
BITWISE_AND
           
BITWISE_OR
           
BITWISE_XOR
           
DIVIDE
           
EQUAL
           
GLOB
           
GREATER
           
GREATER_EQUAL
           
LEFT_SHIFT
           
LESS
           
LESS_EQUAL
           
LOGICAL_AND
           
LOGICAL_OR
           
MINUS
           
MODULO
           
MULTIPLY
           
NOT_EQUAL
           
PLUS
           
REGEX
           
RIGHT_SHIFT
           
RIGHT_USHIFT
           
 
Method Summary
 java.lang.String toString()
           
static Parser.BinaryOperator valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Parser.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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

EQUAL

public static final Parser.BinaryOperator EQUAL

GLOB

public static final Parser.BinaryOperator GLOB

REGEX

public static final Parser.BinaryOperator REGEX

NOT_EQUAL

public static final Parser.BinaryOperator NOT_EQUAL

LESS

public static final Parser.BinaryOperator LESS

LESS_EQUAL

public static final Parser.BinaryOperator LESS_EQUAL

GREATER

public static final Parser.BinaryOperator GREATER

GREATER_EQUAL

public static final Parser.BinaryOperator GREATER_EQUAL

PLUS

public static final Parser.BinaryOperator PLUS

MINUS

public static final Parser.BinaryOperator MINUS

MULTIPLY

public static final Parser.BinaryOperator MULTIPLY

DIVIDE

public static final Parser.BinaryOperator DIVIDE

MODULO

public static final Parser.BinaryOperator MODULO

LOGICAL_OR

public static final Parser.BinaryOperator LOGICAL_OR

LOGICAL_AND

public static final Parser.BinaryOperator LOGICAL_AND

BITWISE_OR

public static final Parser.BinaryOperator BITWISE_OR

BITWISE_XOR

public static final Parser.BinaryOperator BITWISE_XOR

BITWISE_AND

public static final Parser.BinaryOperator BITWISE_AND

LEFT_SHIFT

public static final Parser.BinaryOperator LEFT_SHIFT

RIGHT_SHIFT

public static final Parser.BinaryOperator RIGHT_SHIFT

RIGHT_USHIFT

public static final Parser.BinaryOperator RIGHT_USHIFT
Method Detail

values

public static Parser.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 (Parser.BinaryOperator c : Parser.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 Parser.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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<Parser.BinaryOperator>