All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class gnu.jel.CompiledExpression

java.lang.Object
   |
   +----gnu.jel.CompiledExpression

public abstract class CompiledExpression
extends Object
The superclass of every compiled expression.


Constructor Index

 o CompiledExpression()

Method Index

 o evaluate(Object[])
Evaluates the expression.

Constructors

 o CompiledExpression
 public CompiledExpression()

Methods

 o evaluate
 public abstract Object evaluate(Object dynamic_lib[]) throws Throwable
Evaluates the expression.

Parameters:
dynamic_lib - the library of the objects, containing "dynamic" functions. These objects should be exactly in the same order as corresponding dynamic library classes during the construction of the library for compilation.
Returns:
the result fo computation.
Throws: Throwable
if any runtime error have occured (i.e. division by 0)
See Also:
compile, Library

All Packages  Class Hierarchy  This Package  Previous  Next  Index