public abstract class AbstractBinaryIntegerArithmeticOperator extends AbstractArithmeticOperator
ArithmeticOperator
s 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, setKnowledgeBase
public AbstractBinaryIntegerArithmeticOperator()
public final Numeric calculate(Numeric n1, Numeric n2)
calculate
in class AbstractArithmeticOperator
protected abstract long calculateLong(long n1, long n2)
Copyright © 2024. All rights reserved.