Interface ArithmeticStrategy

All Known Implementing Classes:
ArithmeticStrategyMax, ArithmeticStrategySum

public interface ArithmeticStrategy
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    eat(double v)
     
    double
     
  • Method Details

    • eat

      void eat(double v)
    • getResult

      double getResult()