public boolean equals()

in src-gen/com/facebook/buck/frontend/thrift/RuleKeyLogEntry.java [349:392]


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

    boolean this_present_ruleKey = true && this.isSetRuleKey();
    boolean that_present_ruleKey = true && that.isSetRuleKey();
    if (this_present_ruleKey || that_present_ruleKey) {
      if (!(this_present_ruleKey && that_present_ruleKey))
        return false;
      if (!this.ruleKey.equals(that.ruleKey))
        return false;
    }

    boolean this_present_wasStored = true && this.isSetWasStored();
    boolean that_present_wasStored = true && that.isSetWasStored();
    if (this_present_wasStored || that_present_wasStored) {
      if (!(this_present_wasStored && that_present_wasStored))
        return false;
      if (this.wasStored != that.wasStored)
        return false;
    }

    boolean this_present_lastStoredTimestampMillis = true && this.isSetLastStoredTimestampMillis();
    boolean that_present_lastStoredTimestampMillis = true && that.isSetLastStoredTimestampMillis();
    if (this_present_lastStoredTimestampMillis || that_present_lastStoredTimestampMillis) {
      if (!(this_present_lastStoredTimestampMillis && that_present_lastStoredTimestampMillis))
        return false;
      if (this.lastStoredTimestampMillis != that.lastStoredTimestampMillis)
        return false;
    }

    boolean this_present_storeLogEntries = true && this.isSetStoreLogEntries();
    boolean that_present_storeLogEntries = true && that.isSetStoreLogEntries();
    if (this_present_storeLogEntries || that_present_storeLogEntries) {
      if (!(this_present_storeLogEntries && that_present_storeLogEntries))
        return false;
      if (!this.storeLogEntries.equals(that.storeLogEntries))
        return false;
    }

    return true;
  }