
org.opentripplanner.model.transfer.StopTransferPoint 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.transfer;
import java.io.Serializable;
import org.opentripplanner.transit.model.site.StopLocation;
public class StopTransferPoint implements TransferPoint, Serializable {
private final StopLocation stop;
public StopTransferPoint(StopLocation stop) {
this.stop = stop;
}
public StopLocation getStop() {
return stop;
}
@Override
public boolean appliesToAllTrips() {
return true;
}
@Override
public int getSpecificityRanking() {
return 1;
}
@Override
public boolean isStopTransferPoint() {
return true;
}
public String toString() {
return "StopTP{" + stop.getId() + "}";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy