docs: @Pure
  	public int indexOf(RoadSegment segment) {
  		int count = 0;
  		int index;
  		for (final RoadPath p : this.paths) {
  			index = p.indexOf(segment);
  			if (index >= 0) {
  				return count + index;
  			}
  			count += p.size();
  		}
  		return -1;
  	}