public GraphPath<V> subPath(int start, int end) {
		GraphPath<V> subPath = new GraphPath<>();
		subPath.pathList = new ArrayList<>(pathList.subList(start, end));
		subPath.pathSet = new HashSet<>(subPath.pathList);
		return subPath;
	}
Get a part of the whole GraphPath, similar to substring with strings.

@param start the start of the sub-path of the GraphPath
@param end the end of the sub-path of the GraphPath
@return a new GraphPath which is a sub-path of the original GraphPath from start to end
Ghidra/Framework/Graph/src/main/java/ghidra/graph/GraphPath.java