in AsynchronousRatchetingTree/src/main/java/com/facebook/research/asynchronousratchetingtree/art/message/thrift/CiphertextMessageStruct.java [249:274]
public boolean equals(CiphertextMessageStruct that) {
if (that == null)
return false;
if (this == that)
return true;
boolean this_present_authenticatedMessage = true && this.isSetAuthenticatedMessage();
boolean that_present_authenticatedMessage = true && that.isSetAuthenticatedMessage();
if (this_present_authenticatedMessage || that_present_authenticatedMessage) {
if (!(this_present_authenticatedMessage && that_present_authenticatedMessage))
return false;
if (!this.authenticatedMessage.equals(that.authenticatedMessage))
return false;
}
boolean this_present_ciphertext = true && this.isSetCiphertext();
boolean that_present_ciphertext = true && that.isSetCiphertext();
if (this_present_ciphertext || that_present_ciphertext) {
if (!(this_present_ciphertext && that_present_ciphertext))
return false;
if (!this.ciphertext.equals(that.ciphertext))
return false;
}
return true;
}