endrov.util.mathExpr
Class MathExprFunction

java.lang.Object
  extended by endrov.util.mathExpr.MathExprFunction
All Implemented Interfaces:
MathExpr

public class MathExprFunction
extends java.lang.Object
implements MathExpr

Mathematical expression: func(a,b,c,d...)


Nested Class Summary
 
Nested classes/interfaces inherited from interface endrov.util.mathExpr.MathExpr
MathExpr.EvalException
 
Field Summary
 MathExpr[] arg
           
 java.lang.String function
           
 
Constructor Summary
MathExprFunction(java.lang.String n, MathExpr... a)
           
 
Method Summary
 java.lang.Object evalExpr(MathExprEnvironment env)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

function

public java.lang.String function

arg

public MathExpr[] arg
Constructor Detail

MathExprFunction

public MathExprFunction(java.lang.String n,
                        MathExpr... a)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

evalExpr

public java.lang.Object evalExpr(MathExprEnvironment env)
                          throws MathExpr.EvalException
Specified by:
evalExpr in interface MathExpr
Throws:
MathExpr.EvalException