@Override public void handleEvent(VehicleLeavesTrafficEvent event) { if (modes.contains(event.getNetworkMode())) { delegate.handleEvent(event); vehicleIds.remove(event.getVehicleId()); } }
@Override public void handleEvent(final VehicleLeavesTrafficEvent event) { if (ignoreLinkEvents) return; handleEvent(eventsPerPerson, event.getPersonId(), event); }