public boolean equals(PageEncodingStats that) { if (that == null) return false; boolean this_present_page_type = true && this.isSetPage_type(); boolean that_present_page_type = true && that.isSetPage_type(); if (this_present_page_type || that_present_page_type) { if (!(this_present_page_type && that_present_page_type)) return false; if (!this.page_type.equals(that.page_type)) return false; } boolean this_present_encoding = true && this.isSetEncoding(); boolean that_present_encoding = true && that.isSetEncoding(); if (this_present_encoding || that_present_encoding) { if (!(this_present_encoding && that_present_encoding)) return false; if (!this.encoding.equals(that.encoding)) return false; } boolean this_present_count = true; boolean that_present_count = true; if (this_present_count || that_present_count) { if (!(this_present_count && that_present_count)) return false; if (this.count != that.count) return false; } return true; }
if (!(this_present_page_type && that_present_page_type)) return false; if (!this.page_type.equals(that.page_type)) return false;
if (!(this_present_type && that_present_type)) return false; if (!this.type.equals(that.type)) return false;
if (!(this_present_type && that_present_type)) return false; if (!this.type.equals(that.type)) return false;