|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectfr.ove.openmath.jome.model.Node
fr.ove.openmath.jome.model.FormulaTreeStructure
fr.ove.openmath.jome.model.Constant
| Constructor Summary | |
Constant()
The Constructor. |
|
| Method Summary | |
java.lang.String |
createLinear(java.lang.String linear)
The Creation of the corresponding linear expression of the formula. |
java.lang.String |
evaluate()
Evaluates the instance. |
java.lang.String |
getValue()
Returns the value. |
FormulaTreeStructure |
insert(FormulaTreeStructure current)
Inserts the operator instance in the formula tree, from the current insertion position. |
boolean |
isIconifiable()
Returns true if the instance is iconifiable.
|
boolean |
isOperator()
To check is the instance is an operator. |
void |
setValue(java.lang.String value)
Sets the value. |
| Methods inherited from class fr.ove.openmath.jome.model.Node |
addChild, addChild, clone, computeDepth, computeNbStrahler, duplicate, getChild, getChildren, getDepth, getFather, getNbChildren, getNbStrahler, getRank, hasChild, moveChildren, removeAll, removeChild, removeChild, setFather, setNbStrahler |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Constant()
| Method Detail |
public FormulaTreeStructure insert(FormulaTreeStructure current)
insert in class FormulaTreeStructurecurrent - the current insertion position.
public java.lang.String createLinear(java.lang.String linear)
createLinear in class FormulaTreeStructurepublic java.lang.String evaluate()
evaluate in class FormulaTreeStructurepublic boolean isOperator()
isOperator in class FormulaTreeStructuretrue if it is an operator. false otherwise.public void setValue(java.lang.String value)
setValue in interface ModifiablesetValue in class FormulaTreeStructurepublic java.lang.String getValue()
getValue in interface ModifiablegetValue in class FormulaTreeStructurepublic boolean isIconifiable()
true if the instance is iconifiable.
false otherwise.
isIconifiable in interface IconifiableisIconifiable in class FormulaTreeStructure
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||