public static VehiclesFactory getFactory() { return new VehiclesFactoryImpl(); }
/** * deliberately non-public since there is a factory. kai, nov'11 */ VehiclesImpl(){ this.vehicleTypes = new LinkedHashMap<>(); this.builder = new VehiclesFactoryImpl() ; this.vehicles = new LinkedHashMap<>(); }