Code example for Vector

Methods: removeAllElements

0
	} 
	/** 
	 * Removes all elements putting the size of the vector at 0 
	 */ 
	public void clearList() { 
		list.removeAllElements();
	} 
	 
	/** 
	 * TO-DO 
	 */ 
	public void mergeList(){ 
	 
	} 
	 
	public Recipe getRecipe(int index) {
		return list.get(index);
	} 
	 
	/** 
	 * Find if the list contains the same instance of recipes, it doesn't check