public abstract class AbstractBinaryIntegerArithmeticOperator extends AbstractArithmeticOperator
ArithmeticOperators that accept two arguments of type TermType.INTEGER.| Constructor and Description |
|---|
AbstractBinaryIntegerArithmeticOperator() |
| Modifier and Type | Method and Description |
|---|---|
Numeric |
calculate(Numeric n1,
Numeric n2) |
protected abstract long |
calculateLong(long n1,
long n2)
Returns the result of evaluating an arithmetic expression using the two arguments
|
calculate, calculate, isPure, preprocess, setKnowledgeBasepublic AbstractBinaryIntegerArithmeticOperator()
public final Numeric calculate(Numeric n1, Numeric n2)
calculate in class AbstractArithmeticOperatorprotected abstract long calculateLong(long n1,
long n2)
Copyright © 2024. All rights reserved.