Package com.singularsys.jep.misc.bitwise

A selection of bitwise operators.

See:
          Description

Class Summary
BitAnd Bitwise And, like the java a & b operator.
BitComp Unary bitwise complement, like the java ~a operator.
BitOr Bitwise Or, like the java a | b operator.
BitwiseOperatorTable  
BitXor Bitwise Xor, like the java a ^ b operator.
LShift Bitwise Left shift, like the java a << b operator.
RShift Bitwise right shift with sign extension, like the java a >> b operator.
URShift Bitwise right shift with zero extension, like the java a <<< b operator.
 

Enum Summary
BitwiseOperatorTable.BitwiseOperators  
 

Package com.singularsys.jep.misc.bitwise Description

A selection of bitwise operators.

The BitwiseOperatorTable can be used as a drop in replacement for the StandardOperatorTable.

jep.setComponent(new BitwiseOperatorTable("**","^"));

Note the standard symbol used for power ^ conflicts with java's symbol used for xor, the constructor for the BitwiseOperatorTable takes two strings specifying the symbols used for power and xor respectively.



Copyright © 2010 Singular Systems http://www.singularsys.com/jep