Class BWSignedRightShiftExpression
- java.lang.Object
-
- org.vedantatree.expressionoasis.expressions.BinaryOperatorExpression
-
- org.vedantatree.expressionoasis.expressions.bitwise.BWSignedRightShiftExpression
-
- All Implemented Interfaces:
Expression
public class BWSignedRightShiftExpression extends BinaryOperatorExpression
Implementation of Bit wise Right Shift Operator (>>) It does not supports for double operands
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.vedantatree.expressionoasis.expressions.BinaryOperatorExpression
BinaryOperatorExpression.TypePair
-
-
Field Summary
-
Fields inherited from class org.vedantatree.expressionoasis.expressions.BinaryOperatorExpression
leftOperandExpression, rightOperandExpression
-
-
Constructor Summary
Constructors Constructor Description BWSignedRightShiftExpression()
-
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.BinaryOperatorExpression
accept, addTypePair, createTypePair, getLeftOperandExpression, getReturnType, getRightOperandExpression, 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.- Specified by:
getValue
in interfaceExpression
- Overrides:
getValue
in classBinaryOperatorExpression
- Returns:
- the value of expression (after expression evaluation)
- Throws:
ExpressionEngineException
- if there is any problem during execution
-
-