Class NaryBinaryFunction

java.lang.Object
com.singularsys.jep.functions.PostfixMathCommand
com.singularsys.jep.functions.NaryBinaryFunction
All Implemented Interfaces:
PostfixMathCommandI, Serializable
Direct Known Subclasses:
Add, Concat, JepTest.MyNaryBinary, Multiply

public abstract class NaryBinaryFunction extends PostfixMathCommand
Convenient base class for n-ary functions backed by a binary operation. Defines an Object eval(Object l,Object r) method for calculating the result. The operation must be associative.
Author:
Richard Morris
See Also: