Code example for Vector

Methods: insertElementAt

0
     * Inserts the first child node of this syntax tree node. The existing 
     * children are shifted back one position. 
     * @param element is the new child node. 
     */ 
    protected final void setFirstElement(SyntaxTreeNode element) {
	_contents.insertElementAt(element,0);
	element.setParent(this);
    } 
 
    /** 
     * Removed a child node of this syntax tree node. 
     * @param element is the child node to remove. 
     */ 
    protected final void removeElement(SyntaxTreeNode element) {
	_contents.remove(element);
	element.setParent(null);
    } 
 
    /** 
     * Returns a Vector containing all the child nodes of this node. 
Contextual code suggestions in your IDE  Get Codota for Java