indicesOfStatic static method
MD - this algorithm has been extracted into a class because it is intended to validate that the subline truly is a subline, and also to use the internal vertex information to unambiguously locate the subline.
Implementation
static List<LinearLocation> indicesOfStatic(
Geometry linearGeom, Geometry subLine) {
LocationIndexOfLine locater = new LocationIndexOfLine(linearGeom);
return locater.indicesOf(subLine);
}