public boolean equals()

in core/src/main/thrift-gen-java/org/apache/accumulo/core/dataImpl/thrift/TSummary.java [427:479]


  public boolean equals(TSummary that) {
    if (that == null)
      return false;
    if (this == that)
      return true;

    boolean this_present_summary = true && this.isSetSummary();
    boolean that_present_summary = true && that.isSetSummary();
    if (this_present_summary || that_present_summary) {
      if (!(this_present_summary && that_present_summary))
        return false;
      if (!this.summary.equals(that.summary))
        return false;
    }

    boolean this_present_config = true && this.isSetConfig();
    boolean that_present_config = true && that.isSetConfig();
    if (this_present_config || that_present_config) {
      if (!(this_present_config && that_present_config))
        return false;
      if (!this.config.equals(that.config))
        return false;
    }

    boolean this_present_filesContaining = true;
    boolean that_present_filesContaining = true;
    if (this_present_filesContaining || that_present_filesContaining) {
      if (!(this_present_filesContaining && that_present_filesContaining))
        return false;
      if (this.filesContaining != that.filesContaining)
        return false;
    }

    boolean this_present_filesExceeding = true;
    boolean that_present_filesExceeding = true;
    if (this_present_filesExceeding || that_present_filesExceeding) {
      if (!(this_present_filesExceeding && that_present_filesExceeding))
        return false;
      if (this.filesExceeding != that.filesExceeding)
        return false;
    }

    boolean this_present_filesLarge = true;
    boolean that_present_filesLarge = true;
    if (this_present_filesLarge || that_present_filesLarge) {
      if (!(this_present_filesLarge && that_present_filesLarge))
        return false;
      if (this.filesLarge != that.filesLarge)
        return false;
    }

    return true;
  }