Class SumMethod


  • public class SumMethod
    extends Accumulation
    Created by kronenthaler on 14/05/2017.
    • Field Summary

    • Constructor Summary

      Constructors 
      Constructor Description
      SumMethod()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double eval​(double a, double b)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • SumMethod

        public SumMethod()
    • Method Detail

      • eval

        public double eval​(double a,
                           double b)
        Specified by:
        eval in class Operator
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object