Source code: com/hartmath/mapping/FunctionEvaluator.java
1 /*
2 * --- formatted by Jindent 2.0b2, (www.c-lab.de/~jindent) ---
3 */
4 package com.hartmath.mapping;
5 import com.hartmath.expression.HObject;
6 import com.hartmath.expression.HFunction;
7
8 /**
9 * Interface that represents a function evaluation object. FunctionEvaluator is
10 * used as an interface for built-in functions, which are associated with a
11 * symbol.
12 *
13 *@author Klaus Hartlage <A HREF="mailto:khartlage@t-online.de">
14 * khartlage@t-online.de</A>
15 *@created 31. Juli 2001
16 *@see HSymbol
17 *@version %I%, %G%
18 */
19 public interface FunctionEvaluator {
20
21 /**
22 * Evaluate the given function if possible.
23 *
24 *@param fun function, which should be evaluated
25 *@return <c>null</c> if the function could not be evaluated; the
26 * evaluated object otherwise
27 */
28 public HObject evaluate(HFunction fun);
29
30 }
31
32
33 /*
34 * --- formatting done in "Sun Java Convention" style on 06-18-1999 ---
35 */