
org.opentripplanner.model.TripTimesPatch Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of otp Show documentation
Show all versions of otp Show documentation
The OpenTripPlanner multimodal journey planning system
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