Class BWComplementExpression
- java.lang.Object
-
- org.vedantatree.expressionoasis.expressions.UnaryOperatorExpression
-
- org.vedantatree.expressionoasis.expressions.bitwise.BWComplementExpression
-
- All Implemented Interfaces:
Expression
public class BWComplementExpression extends UnaryOperatorExpression
Implementation of Bit wise Complement Operator (~) It does not supports for double operands
-
-
Constructor Summary
Constructors Constructor Description BWComplementExpression()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ValueObject
getValue()
Executes and returns the value of this expression.-
Methods inherited from class org.vedantatree.expressionoasis.expressions.UnaryOperatorExpression
accept, addTypePair, getOperandExpression, getReturnType, initialize, toString, uninitialize, validate
-
-
-
-
Method Detail
-
getValue
public ValueObject getValue() throws ExpressionEngineException
Description copied from interface:Expression
Executes and returns the value of this expression. If expression is not at node level, it will further evaluate its related expression which may represents operands or operators and return the final outcome.- Returns:
- the value of expression (after expression evaluation)
- Throws:
ExpressionEngineException
- if there is any problem during execution
-
-