docs: public Path getParent() {
  		if (!isAbsolute())
  			throw new IllegalStateException("path is not absolute: " + toString());
  		if (segments.isEmpty())
  			return null;
  		return new Path(segments.subList(0, segments.size()-1), true);
  	}