Class FunctionCalculatorImpl.FixedFunction

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected FixedFunction()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Number call​(java.util.List<java.lang.Number> arguments)
      Call the function.
      protected void validate​(java.util.List<java.lang.Number> arguments)
      Validate the number of arguments.
      • Methods inherited from class java.lang.Object

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

      • FixedFunction

        protected FixedFunction()
    • Method Detail

      • validate

        protected void validate​(java.util.List<java.lang.Number> arguments)
                         throws ParseException
        Validate the number of arguments.
        Parameters:
        arguments - The function's arguments.
        Throws:
        ParseException - In case of incorrect number of arguments.