Code example for Vector

Methods: addElementcontains

0
    /** 
     * 
     */ 
    public void addDependency(VariableBase other) {
	if (_dependencies == null) {
	    _dependencies = new Vector();
	} 
	if (!_dependencies.contains(other)) {
	    _dependencies.addElement(other);
	} 
    } 
 
    /** 
     * 
     */ 
    public Vector getDependencies() {
	return _dependencies;
    } 
 
    /** 
Experience pair programming with AI  Get Codota for Java