
org.opentripplanner.client.model.Coordinate Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of otp-client Show documentation
Show all versions of otp-client Show documentation
Java client for the OpenTripPlanner GraphQL API
package org.opentripplanner.client.model;
public record Coordinate(double lat, double lon) implements PlaceParameter {
@Override
public String toString() {
return "%s,%s".formatted(lat, lon);
}
@Override
public String toPlaceString() {
return String.format("%s,%s::%s,%s", lat, lon, lat, lon);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy