Class ConstantFunction

All Implemented Interfaces:
PostfixMathCommandI, Serializable

public class ConstantFunction extends NullaryFunction
Functions which always return a constant value.
Author:
Richard Morris
See Also:
  • Constructor Details

    • ConstantFunction

      public ConstantFunction(Object value)
      Parameters:
      value - the value returned by the function
  • Method Details