Class LongCalculator

  • All Implemented Interfaces:
    java.io.Serializable, ICalculator

    public class LongCalculator
    extends java.lang.Object
    implements ICalculator
    Author:
    Miguel Embuena
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      LongCalculator()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object calculate()  
      long getValue()  
      void setValue​(long l)  
      • Methods inherited from class java.lang.Object

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

      • LongCalculator

        public LongCalculator()
    • Method Detail

      • calculate

        public java.lang.Object calculate()
                                   throws java.lang.Exception
        Specified by:
        calculate in interface ICalculator
        Throws:
        java.lang.Exception
      • getValue

        public long getValue()
      • setValue

        public void setValue​(long l)