
org.opentripplanner.street.service.DefaultStreetLimitationParametersService 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.street.service;
import jakarta.inject.Singleton;
import org.opentripplanner.street.model.StreetLimitationParameters;
@Singleton
public class DefaultStreetLimitationParametersService implements StreetLimitationParametersService {
private final StreetLimitationParameters streetLimitationParameters;
public DefaultStreetLimitationParametersService(
StreetLimitationParameters streetLimitationParameters
) {
this.streetLimitationParameters = streetLimitationParameters;
}
@Override
public float getMaxCarSpeed() {
return streetLimitationParameters.maxCarSpeed();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy