java.io.Serializable, java.lang.Cloneable, javax.swing.tree.TreeNode, ASTNode2, TreeNodeWithChangeSupportpublic class ASTMinusNode extends ASTBinaryFunctionNode
| Constructor | Description |
|---|---|
ASTMinusNode() |
Creates a new
ASTMinusNode. |
ASTMinusNode(ASTMinusNode node) |
Copy constructor; Creates a deep copy of the given
ASTMinusNode. |
ASTMinusNode(ASTNode2 leftChild,
ASTNode2 rightChild) |
Creates a new
ASTMinusNode with two children |
| Modifier and Type | Method | Description |
|---|---|---|
ASTMinusNode |
clone() |
Clone ASTNode2
|
ASTNode2Value<?> |
compile(ASTNode2Compiler compiler) |
Compiles this
ASTNode2 and returns the result. |
boolean |
isAllowableType(ASTNode.Type type) |
Returns
true iff type is allowed in this ASTNode2 |
java.lang.String |
toFormula() |
Converts this
ASTNode2 to a text string using a specific syntax
for mathematical formulas. |
java.lang.String |
toLaTeX() |
Converts this node recursively into a LaTeX formatted String.
|
java.lang.String |
toMathML() |
Converts this node recursively into a MathML string that corresponds to
the subset of MathML defined in the SBML specification.
|
getId, getMathMLClass, getParentSBMLObject, getStyle, getType, isSetId, isSetMathMLClass, isSetParentSBMLObject, isSetStyle, isSetType, isStrict, setId, setMathMLClass, setParent, setStrictness, setStyle, setType, setType, unsetParentSBMLObjectaddAllChangeListeners, addAllChangeListeners, addTreeNodeChangeListener, addTreeNodeChangeListener, children, clearUserObjects, containsUserObjectKey, filter, filter, filter, fireNodeAddedEvent, fireNodeRemovedEvent, firePropertyChange, getIndex, getListOfTreeNodeChangeListeners, getNumChildren, getParent, getRoot, getTreeNodeChangeListenerCount, getUserObject, indexOf, isLeaf, isRoot, isSetParent, isSetUserObjects, putUserObject, removeAllTreeNodeChangeListeners, removeAllTreeNodeChangeListeners, removeFromParent, removeTreeNodeChangeListener, removeTreeNodeChangeListener, removeUserObject, toString, userObjectKeySetaddChild, getChildAt, getLeftChild, getRightChild, insertChild, isSetLeftChild, isSetRightChild, prependChild, removeChild, setLeftChild, setRightChild, swapChildrenequals, findReferencedCallableSBases, getAllowsChildren, getChildCount, getChildren, getListOfNodes, getListOfNodes, getName, hashCode, hasUnits, isSetName, replaceChild, setName, setParentSBMLObjectgetClass, notify, notifyAll, toString, wait, wait, waitaddAllChangeListeners, addAllChangeListeners, addTreeNodeChangeListener, addTreeNodeChangeListener, clearUserObjects, containsUserObjectKey, filter, filter, filter, fireNodeAddedEvent, fireNodeRemovedEvent, firePropertyChange, getListOfTreeNodeChangeListeners, getRoot, getTreeNodeChangeListenerCount, getUserObject, isRoot, isSetParent, isSetUserObjects, putUserObject, removeAllTreeNodeChangeListeners, removeAllTreeNodeChangeListeners, removeFromParent, removeTreeNodeChangeListener, removeTreeNodeChangeListener, removeUserObject, userObjectKeySetpublic ASTMinusNode()
ASTMinusNode.public ASTMinusNode(ASTMinusNode node)
ASTMinusNode.node - the ASTMinusNode to be copied.public ASTMinusNode(ASTNode2 leftChild, ASTNode2 rightChild)
ASTMinusNode with two childrenpublic ASTMinusNode clone()
ASTNode2clone in interface ASTNode2clone in class ASTBinaryFunctionNodepublic ASTNode2Value<?> compile(ASTNode2Compiler compiler)
ASTNode2ASTNode2 and returns the result.compile in interface ASTNode2compile in class ASTFunctioncompiler - An instance of an ASTNode2Compiler that provides
methods to translate this ASTNode2 into something
different.ASTNode2Value. The content of the
wrapper depends on the ASTNode2Compiler used to create it.
However, this ASTNode2 will ensure that level and version
are set appropriately according to this node's parent SBML
object.public boolean isAllowableType(ASTNode.Type type)
ASTNode2true iff type is allowed in this ASTNode2isAllowableType in interface ASTNode2isAllowableType in class ASTFunctionpublic java.lang.String toFormula()
throws SBMLException
ASTNode2
Converts this ASTNode2 to a text string using a specific syntax
for mathematical formulas.
The text-string form of mathematical formulas produced by formulaToString() and read by parseFormula() are simple C-inspired infix notation taken from SBML Level 1. A formula in this text-string form therefore can be handed to a program that understands SBML Level 1 mathematical expressions, or used as part of a formula translation system. The syntax is described in detail in the documentation for ASTNode.
toFormula in interface ASTNode2toFormula in class AbstractASTNodenull is
returned if the given argument is null.SBMLExceptionpublic java.lang.String toLaTeX()
throws SBMLException
ASTNode2toLaTeX in interface ASTNode2toLaTeX in class AbstractASTNodeSBMLExceptionpublic java.lang.String toMathML()
ASTNode2toMathML in interface ASTNode2toMathML in class AbstractASTNode