net.sourceforge.jeval
Class ParsedFunction

java.lang.Object
  extended by net.sourceforge.jeval.ParsedFunction

public class ParsedFunction
extends java.lang.Object

This class represents a function that has been parsed.


Constructor Summary
ParsedFunction(Function function, java.lang.String arguments, Operator unaryOperator)
          The constructor for this class.
 
Method Summary
 java.lang.String getArguments()
          Returns the arguments to the function.
 Function getFunction()
          Returns the function that has been parsed.
 Operator getUnaryOperator()
          Returns the unary operator for this object, if there is one.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParsedFunction

public ParsedFunction(Function function,
                      java.lang.String arguments,
                      Operator unaryOperator)
The constructor for this class.

Parameters:
function - The function that has been parsed.
arguments - The arguments to the function.
unaryOperator - The unary operator for this object, if there is one.
Method Detail

getFunction

public Function getFunction()
Returns the function that has been parsed.

Returns:
The function that has been parsed.

getArguments

public java.lang.String getArguments()
Returns the arguments to the function.

Returns:
The arguments to the function.

getUnaryOperator

public Operator getUnaryOperator()
Returns the unary operator for this object, if there is one.

Returns:
The unary operator for this object, if there is one.


Copyright (C) 2002-2007 Robert Breidecker.