Source code: com/hartmath/mapping/ConstantEvaluator.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
7 /**
8 * Interface that represents a function evaluation object. FunctionEvaluator is
9 * used as an interface for built-in functions, which are associated with a
10 * symbol.
11 *
12 *@author Klaus Hartlage <A HREF="mailto:khartlage@t-online.de">
13 * khartlage@t-online.de</A>
14 *@created 31. Juli 2001
15 *@see HSymbol
16 *@version %I%, %G%
17 */
18 public class ConstantEvaluator extends ConstantNumericEvaluator {
19 HObject symbolicValue;
20
21
22 /**
23 * Constructor for the ConstantEvaluator object
24 *
25 *@param nVal Description of Parameter
26 *@param sVal Description of Parameter
27 */
28 public ConstantEvaluator(HObject nVal, HObject sVal) {
29 super(nVal);
30 symbolicValue = sVal;
31 }
32
33
34 /**
35 * Gets the symbolicValue attribute of the ConstantEvaluator object
36 *
37 *@return The symbolicValue value
38 */
39 public HObject getSymbolicValue() {
40 return symbolicValue;
41 }
42 }
43
44
45 /*
46 * --- formatting done in "Sun Java Convention" style on 06-18-1999 ---
47 */