Code example for Vector

Methods: contains

0
	 * @param refName Must be a valid qualified name. 
	 * @return true if the list contains the qualified name. 
	 */ 
	boolean doesOccur(QName refName)
	{ 
		return m_refs.contains(refName);
	} 
 
	/** 
	 * Visit a variable reference. 
	 * @param owner The owner of the expression, to which the expression can  
	 *              be reset if rewriting takes place. 
	 * @param var The variable reference object. 
	 * @return true if the sub expressions should be traversed. 
	 */ 
	public boolean visitVariableRef(ExpressionOwner owner, Variable var)
	{ 
		m_refs.addElement(var.getQName());
		return true; 
	}