org.opentripplanner.transit.raptor.api.view.TransferPathView 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
package org.opentripplanner.transit.raptor.api.view;
import org.opentripplanner.transit.raptor.api.transit.RaptorTransfer;
/**
* Provide transfer path information to debugger and path mapping.
*/
public interface TransferPathView {
RaptorTransfer transfer();
/** The transfer duration in seconds */
default int durationInSeconds() {
return transfer().durationInSeconds();
}
}