
org.opentripplanner.model.TripTimesPatch Maven / Gradle / Ivy
The newest version!
package org.opentripplanner.model;
import java.util.List;
import org.opentripplanner.transit.model.timetable.RealTimeTripTimes;
import org.opentripplanner.transit.model.timetable.TripTimes;
/**
* Contains a {@link TripTimes} and array of stop indices of a stop pattern that are skipped with a
* realtime update.
*/
public class TripTimesPatch {
private final RealTimeTripTimes tripTimes;
private final List skippedStopIndices;
public TripTimesPatch(RealTimeTripTimes tripTimes, List skippedStopIndices) {
this.tripTimes = tripTimes;
this.skippedStopIndices = skippedStopIndices;
}
public RealTimeTripTimes getTripTimes() {
return this.tripTimes;
}
public List getSkippedStopIndices() {
return this.skippedStopIndices;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy