Code example for CopyOnWriteArrayList

Methods: remove

0
	public static void addChangeListener(OnChangeListener listener) {
	    m_changeListeners.add(listener);
	} 
	 
	public static void removeChangeListener(OnChangeListener listener) {
	    m_changeListeners.remove(listener);
    } 
	 
	private void onChange() { 
	    Iterator<OnChangeListener> i = m_changeListeners.iterator();
	     
	    while(i.hasNext()) {
	        i.next().onDatabseChanged(this);
	    } 
	} 
}