Class FunctionCall

java.lang.Object
redempt.crunch.functional.FunctionCall
All Implemented Interfaces:
Cloneable, Token, Value

public class FunctionCall extends Object implements Value
Represents a lazy function call with other lazy values as function arguments
  • Constructor Details

    • FunctionCall

      public FunctionCall(Function function, Value[] values)
  • Method Details

    • getType

      public TokenType getType()
      Specified by:
      getType in interface Token
      Returns:
      The type of this Token
    • getValue

      public double getValue(double[] variableValues)
      Specified by:
      getValue in interface Value
    • getClone

      public Value getClone()
      Specified by:
      getClone in interface Value
    • toString

      public String toString()
      Overrides:
      toString in class Object