Interface IOperator
- All Known Implementing Classes:
Addition
,Division
,Exponent
,Log
,Modulo
,Multiplication
,Subtraction
public interface IOperator
A single operation used in formulas
-
Method Summary
Modifier and TypeMethodDescriptiondouble
compute
(double a, double b) Performs the operation between the two values
-
Method Details
-
compute
double compute(double a, double b) Performs the operation between the two values- Parameters:
a
- first valueb
- second value- Returns:
- result
-