Class NullCalculator

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

    public class NullCalculator
    extends java.lang.Object
    implements ICalculator
    Just return null.

    Author:
    Javier Paniza
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      NullCalculator()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object calculate()  
      • Methods inherited from class java.lang.Object

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

      • NullCalculator

        public NullCalculator()
    • Method Detail

      • calculate

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