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 Type
    Method
    Description
    double
    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 value
      b - second value
      Returns:
      result