public Path append(String path) {
        List<String> newElements = new ArrayList<>(this.elements);
        newElements.addAll(elementsOf(path, delimiter));
        return new Path(newElements, delimiter);
    }
Append an element to the path. Returns a new path with the given path appended.

@param path the path to append to this
@return the new path
vespajlib/src/main/java/com/yahoo/path/Path.java