org.shiftone.bigcalc
Interface Functor

All Known Subinterfaces:
Function
All Known Implementing Classes:
AbstractNoArgumentFunction, AbstractOneArgumentFunction, AbstractTwoArgumentFunction, Arctan, AssignmentFunctor, BigPiCalculator, BinaryOperationFunctor, BlockFunctor, BooleanLiteralFunctor, CalcEFunction, Calculator, Cosecant, Cosine, Cotangent, DecimalLiteralFunctor, FunctionFunctor, IfElseFunctor, IntegerLiteralFunctor, MinMax, NaturalExponent, NumericConstantFileFunction, Secant, Sine, SquareRoot, TangentFunction, TextLiteralFunctor, TryCatchFunction, UnaryOperationFunctor, VariableFunctor

public interface Functor

An executable unit - an object that represents a function. A functors will commonly contain and deligate to other functors.

Version:
$Revision: 1.11 $
Author:
$Author: jeffdrost $

Method Summary
 java.lang.Object evaluate(Context context)
           
 void print(java.lang.StringBuffer sb, Context context)
           
 

Method Detail

evaluate

public java.lang.Object evaluate(Context context)
                          throws java.lang.Exception
Throws:
java.lang.Exception

print

public void print(java.lang.StringBuffer sb,
                  Context context)
           throws java.lang.Exception
Throws:
java.lang.Exception