|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Catalog
Catalog of expressions. Manage a set of expressions. Used to parse or evaluate expression. Eache time the parser found a function in an expression, it check if it is define in the catalog given for the parsing.
| Method Summary | |
|---|---|
void |
addConstant(java.lang.String name,
MathematicalElement value)
Add a constant to the catalog. |
void |
addExpression(Expression expression)
add an expression to catalog. |
MathematicalElement |
getConstant(java.lang.String name)
Get a constant from the catalog |
Expression |
getExpression(java.lang.String name)
Get an expression from the catalog. |
java.lang.String |
getName()
Get the catalog name. |
java.util.List |
listConstant()
List all constant stored in catalog. |
java.util.List |
listExpression()
List the content of the catalog |
| Method Detail |
|---|
void addExpression(Expression expression)
expression - expression to add.Expression getExpression(java.lang.String name)
name - name of the expression to get
java.util.List listExpression()
void addConstant(java.lang.String name,
MathematicalElement value)
name - name of the constant.value - value of the constant.MathematicalElement getConstant(java.lang.String name)
name - constant name to get.
null if not found.java.util.List listConstant()
java.lang.String getName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||