Class ExpressionBase

    • Constructor Summary

      Constructors 
      Constructor Description
      ExpressionBase​()  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      abstract int getArgumentCount​()
      Get the number of arguments this expression uses
      protected void validate​(java.lang.Object[] numbers)
      Validates the specified numbers for the expression
      • Methods inherited from class java.lang.Object

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

      • ExpressionBase

        public ExpressionBase​()
    • Method Detail

      • getArgumentCount

        public abstract int getArgumentCount​()
        Description copied from interface: IExpression
        Get the number of arguments this expression uses
        Specified by:
        getArgumentCount in interface IExpression
        Returns:
        The argument count
      • validate

        protected void validate​(java.lang.Object[] numbers)
        Validates the specified numbers for the expression
        Parameters:
        numbers - The numbers to validate