public synchronized boolean equals(java.lang.Object obj) {
        if (!(obj instanceof ProfileDataSearchResult)) return false;
        ProfileDataSearchResult other = (ProfileDataSearchResult) obj;
        if (obj == null) return false;
        if (this == obj) return true;
        if (__equalsCalc != null) {
            return (__equalsCalc == obj);
        }
        __equalsCalc = obj;
        boolean _equals;
        _equals = true && 
            ((this.results==null && other.getResults()==null) || 
             (this.results!=null &&
              java.util.Arrays.equals(this.results, other.getResults()))) &&
            ((this.total_results==null && other.getTotal_results()==null) || 
             (this.total_results!=null &&
              this.total_results.equals(other.getTotal_results())));
        __equalsCalc = null;
        return _equals;
    }
public synchronized boolean equals(java.lang.Object obj)