for(int idx = 0; idx < tabSize; idx++) { if(keys[idx] == null || keys[idx] == REMOVED) continue; listener = (UpdateListener) keys[idx];
for (Iterator i = keySet().iterator(); i.hasNext(); ) { listener = (UpdateListener) i.next();
	public synchronized void notifyUpdate(DocumentImpl document, int event) {		UpdateListener listener;		for(int idx = 0; idx < tabSize; idx++) {	        if(keys[idx] == null || keys[idx] == REMOVED)	            continue;	        listener = (UpdateListener) keys[idx];	        listener.documentUpdated(document, event);		}	}