/** * Adds an SBML element to this node. * * @param nsb * an SBML element that can be represented by a value. * @return the current node for convenience. */ public ASTNode plus(CallableSBase nsb) { plus(new ASTNode(nsb, getParentSBMLObject())); return this; }
/** * Adds a number to this node. * * @param real * a double number. * @return the current node for convenience. */ public ASTNode plus(double real) { plus(new ASTNode(real, getParentSBMLObject())); return this; }
/** * Adds an integer number to this node. * * @param integer * an integer number. * @return the current node for convenience. */ public ASTNode plus(int integer) { plus(new ASTNode(integer, getParentSBMLObject())); return this; }