public boolean equals()

in AsynchronousRatchetingTree/src/main/java/com/facebook/research/asynchronousratchetingtree/art/message/thrift/AuthenticatedMessageStruct.java [263:288]


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

    boolean this_present_message = true && this.isSetMessage();
    boolean that_present_message = true && that.isSetMessage();
    if (this_present_message || that_present_message) {
      if (!(this_present_message && that_present_message))
        return false;
      if (!this.message.equals(that.message))
        return false;
    }

    boolean this_present_authenticator = true && this.isSetAuthenticator();
    boolean that_present_authenticator = true && that.isSetAuthenticator();
    if (this_present_authenticator || that_present_authenticator) {
      if (!(this_present_authenticator && that_present_authenticator))
        return false;
      if (!this.authenticator.equals(that.authenticator))
        return false;
    }

    return true;
  }