com.espertech.esper.type
Enum BitWiseOpEnum

java.lang.Object
  extended by java.lang.Enum<BitWiseOpEnum>
      extended by com.espertech.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.
 java.lang.String getExpressionText()
          Returns the operator as an expression text.
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 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

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

Returns:
an array containing the constants of this enum type, in the order they are 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
java.lang.NullPointerException - if the argument is null

getExpressionText

public java.lang.String getExpressionText()
Returns the operator as an expression text.

Returns:
text of operator

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

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com