listeners = new HashMap<Locomotive, LocomotiveChangeListener>();
listeners = new ArrayList<LocomotiveChangeListener>();
    private LocomotiveControl() {        listeners = new HashMap<Locomotive, LocomotiveChangeListener>();        addressToLocomotives = new HashMap<Address, Locomotive>();        locomotiveGroups = new TreeSet<LocomotiveGroup>();    }