Code example for Vector

Methods: addElement, contains

0
    /** 
     * 
     */ 
    public void addDependency(VariableBase other) {
	if (_dependencies == null) {
	    _dependencies = new Vector();
	} 
	if (!_dependencies.contains(other)) {
	    _dependencies.addElement(other);
	} 
    } 
 
    /** 
     * 
     */ 
    public Vector getDependencies() {
	return _dependencies;
    } 
 
    /** 
     * Map this variable to a register