@Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        FieldPath that = (FieldPath) o;

        return list.equals(that.list);
    }
Convenience method to build a field path from a path string. This is a simple proxy for {@link
DataType#buildFieldPath(String)}.

@param fieldType The data type of the value to build a path for.
@param fieldPath The path string to parse.
@return The corresponding field path object.
document/src/main/java/com/yahoo/document/FieldPath.java