public final class Subtract extends AbstractBinaryArithmeticOperator
- - performs subtraction.| Constructor and Description |
|---|
Subtract() |
| Modifier and Type | Method and Description |
|---|---|
protected double |
calculateDouble(double n1,
double n2)
Returns the difference of the two arguments
|
protected long |
calculateLong(long n1,
long n2)
Returns the difference of the two arguments
|
calculatecalculate, calculate, isPure, preprocess, setKnowledgeBaseprotected double calculateDouble(double n1,
double n2)
calculateDouble in class AbstractBinaryArithmeticOperatorprotected long calculateLong(long n1,
long n2)
calculateLong in class AbstractBinaryArithmeticOperatorCopyright © 2024. All rights reserved.