Class BWSignedLeftShiftExpression
- java.lang.Object
-
- org.vedantatree.expressionoasis.expressions.BinaryOperatorExpression
-
- org.vedantatree.expressionoasis.expressions.bitwise.BWSignedLeftShiftExpression
-
- All Implemented Interfaces:
Expression
public class BWSignedLeftShiftExpression extends BinaryOperatorExpression
Implementation of Bit wise Singed Left Shift Operator (<<) It does not work 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 BWSignedLeftShiftExpression()
-
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
-
-