public final class Add extends AbstractBinaryArithmeticOperator
+ - performs addition.| Constructor and Description |
|---|
Add() |
| Modifier and Type | Method and Description |
|---|---|
protected double |
calculateDouble(double n1,
double n2)
Returns the sum of the two arguments
|
protected long |
calculateLong(long n1,
long n2)
Returns the sum 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.