code: public UnixPath resolve(UnixPath other) {
      if (other.path.isEmpty()) {
        return this;
      } else if (other.isAbsolute()) {
        return other;
      } else if (hasTrailingSeparator()) {
        return new UnixPath(permitEmptyComponents, path + other.path);
      } else {
        return new UnixPath(permitEmptyComponents, path + SEPARATOR + other.path);
      }
    }
docs: Returns {@code other} appended to {@code path}.
  
  @see java.nio.file.Path#resolve(java.nio.file.Path)