public boolean equals()

in core/src/main/thrift-gen-java/org/apache/accumulo/core/gc/thrift/GCStatus.java [363:406]


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

    boolean this_present_last = true && this.isSetLast();
    boolean that_present_last = true && that.isSetLast();
    if (this_present_last || that_present_last) {
      if (!(this_present_last && that_present_last))
        return false;
      if (!this.last.equals(that.last))
        return false;
    }

    boolean this_present_lastLog = true && this.isSetLastLog();
    boolean that_present_lastLog = true && that.isSetLastLog();
    if (this_present_lastLog || that_present_lastLog) {
      if (!(this_present_lastLog && that_present_lastLog))
        return false;
      if (!this.lastLog.equals(that.lastLog))
        return false;
    }

    boolean this_present_current = true && this.isSetCurrent();
    boolean that_present_current = true && that.isSetCurrent();
    if (this_present_current || that_present_current) {
      if (!(this_present_current && that_present_current))
        return false;
      if (!this.current.equals(that.current))
        return false;
    }

    boolean this_present_currentLog = true && this.isSetCurrentLog();
    boolean that_present_currentLog = true && that.isSetCurrentLog();
    if (this_present_currentLog || that_present_currentLog) {
      if (!(this_present_currentLog && that_present_currentLog))
        return false;
      if (!this.currentLog.equals(that.currentLog))
        return false;
    }

    return true;
  }