All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.opentripplanner.model.TripTimesPatch Maven / Gradle / Ivy

package org.opentripplanner.model;

import java.util.List;
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 TripTimes tripTimes;
  private final List skippedStopIndices;

  public TripTimesPatch(TripTimes tripTimes, List skippedStopIndices) {
    this.tripTimes = tripTimes;
    this.skippedStopIndices = skippedStopIndices;
  }

  public TripTimes getTripTimes() {
    return this.tripTimes;
  }

  public List getSkippedStopIndices() {
    return this.skippedStopIndices;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy