Code example for CopyOnWriteArrayList

Methods: removeAll

0
	 * public Rectangle getSurfacRect() { return rect; } 
	 */ 
 
	public void deleteAllReflectors() 
	{ 
		reflectorList.removeAll(reflectorList);
 
	} 
 
	public void resetAllPosChanged() 
	{ 
		for (Reflector r : reflectorList)
			r.resetPosChanged();
	} 
 
	Reflector getSelectedReflector() 
	{ 
		System.out.println("selected ref = " + selectedRef);
		return selectedRef;
	}