Package org.projog.core.math.builtin
Class ShiftLeft
- java.lang.Object
-
- org.projog.core.math.AbstractArithmeticOperator
-
- org.projog.core.math.AbstractBinaryIntegerArithmeticOperator
-
- org.projog.core.math.builtin.ShiftLeft
-
- All Implemented Interfaces:
KnowledgeBaseConsumer,ArithmeticOperator,PreprocessableArithmeticOperator
public final class ShiftLeft extends AbstractBinaryIntegerArithmeticOperator
<<- left shift bits.
-
-
Constructor Summary
Constructors Constructor Description ShiftLeft()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected longcalculateLong(long n1, long n2)Returns the result of evaluating an arithmetic expression using the two arguments-
Methods inherited from class org.projog.core.math.AbstractBinaryIntegerArithmeticOperator
calculate
-
Methods inherited from class org.projog.core.math.AbstractArithmeticOperator
calculate, calculate, isPure, preprocess, setKnowledgeBase
-
-
-
-
Method Detail
-
calculateLong
protected long calculateLong(long n1, long n2)Description copied from class:AbstractBinaryIntegerArithmeticOperatorReturns the result of evaluating an arithmetic expression using the two arguments- Specified by:
calculateLongin classAbstractBinaryIntegerArithmeticOperator
-
-