LocomotiveChangeListener l = listeners.get(changedLocomotive); l.locomotiveChanged(changedLocomotive);
for (LocomotiveChangeListener l : listeners) l.locomotiveChanged(changedLocomotive);
    private void informListeners(Locomotive changedLocomotive) {        LocomotiveChangeListener l = listeners.get(changedLocomotive);        l.locomotiveChanged(changedLocomotive);    }