queue.add(new ListElement(list, dispatcher));
queue.add(new EventListeners.ListElement(list, dispatcher));
	public synchronized void queueListeners(EventListeners listeners, EventDispatcher dispatcher) {		if (readOnly) {			throw new IllegalStateException();		}		if (listeners != null) {			ListElement[] list = listeners.getListeners();			if (list.length > 0) {				queue.add(new ListElement(list, dispatcher));			}		}	}