com.graphhopper.api.GHMResponse Maven / Gradle / Ivy
package com.graphhopper.api;
import com.graphhopper.GHResponse;
/**
* @author Peter Karich
*/
public class GHMResponse extends GHResponse {
private final int fromIndex;
private final int toIndex;
private final boolean identicalStartAndEnd;
public GHMResponse(int fromIndex, int toIndex, boolean identicalStartAndEnd) {
this.fromIndex = fromIndex;
this.toIndex = toIndex;
this.identicalStartAndEnd = identicalStartAndEnd;
}
public boolean isIdenticalStartAndEnd() {
return identicalStartAndEnd;
}
public int getFromIndex() {
return fromIndex;
}
public int getToIndex() {
return toIndex;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy