Object[] listeners = mapChangeListeners.getListenerList();
Iterator iterator = mapChangeListeners.iterator();
    protected void fireMapChanged() {        Object[] listeners = mapChangeListeners.getListenerList();        MapChangedEvent event = null;        for (int i = listeners.length - 2; i >= 0; i -= 2) {            if (listeners[i] == MapChangeListener.class) {                if (event == null) event = new MapChangedEvent(this);                ((MapChangeListener)listeners[i + 1]).mapChanged(event);            }        }    }