net.esper.type
Enum BitWiseOpEnum

java.lang.Object
  extended by java.lang.Enum<BitWiseOpEnum>
      extended by net.esper.type.BitWiseOpEnum
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<BitWiseOpEnum>

public enum BitWiseOpEnum
extends java.lang.Enum<BitWiseOpEnum>

Enum representing relational types of operation.


Nested Class Summary
static class BitWiseOpEnum.BAndBoolean
          Bit Wise And.
static class BitWiseOpEnum.BAndByte
          Bit Wise And.
static class BitWiseOpEnum.BAndInt
          Bit Wise And.
static class BitWiseOpEnum.BAndLong
          Bit Wise And.
static class BitWiseOpEnum.BAndShort
          Bit Wise And.
static class BitWiseOpEnum.BOrBoolean
          Bit Wise Or.
static class BitWiseOpEnum.BOrByte
          Bit Wise Or.
static class BitWiseOpEnum.BOrInt
          Bit Wise Or.
static class BitWiseOpEnum.BOrLong
          Bit Wise Or.
static class BitWiseOpEnum.BOrShort
          Bit Wise Or.
static class BitWiseOpEnum.BXorBoolean
          Bit Wise Xor.
static class BitWiseOpEnum.BXorByte
          Bit Wise Xor.
static class BitWiseOpEnum.BXorInt
          Bit Wise Xor.
static class BitWiseOpEnum.BXorLong
          Bit Wise Xor.
static class BitWiseOpEnum.BXorShort
          Bit Wise Xor.
static interface BitWiseOpEnum.Computer
          Computer for relational op.
 
Enum Constant Summary
BAND
          Bitwise and.
BOR
          Bitwise or.
BXOR
          Bitwise xor.
 
Method Summary
 java.lang.String getComputeDescription()
          Returns string rendering of enum.
 BitWiseOpEnum.Computer getComputer(java.lang.Class coercedType)
          Returns number or boolean computation for the target coercion type.
static BitWiseOpEnum valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static BitWiseOpEnum[] 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, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

BAND

public static final BitWiseOpEnum BAND
Bitwise and.


BOR

public static final BitWiseOpEnum BOR
Bitwise or.


BXOR

public static final BitWiseOpEnum BXOR
Bitwise xor.

Method Detail

values

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

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

valueOf

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

getComputer

public BitWiseOpEnum.Computer getComputer(java.lang.Class coercedType)
Returns number or boolean computation for the target coercion type.

Parameters:
coercedType - - target type
Returns:
number cruncher

getComputeDescription

public java.lang.String getComputeDescription()
Returns string rendering of enum.

Returns:
bitwise operator string