Package org.projog.core.math.builtin
Class BitwiseXor
java.lang.Object
org.projog.core.math.AbstractArithmeticOperator
org.projog.core.math.AbstractBinaryIntegerArithmeticOperator
org.projog.core.math.builtin.BitwiseXor
- All Implemented Interfaces:
KnowledgeBaseConsumer,ArithmeticOperator,PreprocessableArithmeticOperator
xor - bitwise 'exclusive or'.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected longcalculateLong(long n1, long n2) Returns the result of evaluating an arithmetic expression using the two argumentsMethods inherited from class org.projog.core.math.AbstractBinaryIntegerArithmeticOperator
calculateMethods inherited from class org.projog.core.math.AbstractArithmeticOperator
calculate, calculate, isPure, preprocess, setKnowledgeBase
-
Constructor Details
-
BitwiseXor
public BitwiseXor()
-
-
Method Details
-
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
-