in AsynchronousRatchetingTree/src/main/java/com/facebook/research/asynchronousratchetingtree/art/message/thrift/NodeStruct.java [296:330]
public boolean equals(NodeStruct that) {
if (that == null)
return false;
if (this == that)
return true;
boolean this_present_publicKey = true && this.isSetPublicKey();
boolean that_present_publicKey = true && that.isSetPublicKey();
if (this_present_publicKey || that_present_publicKey) {
if (!(this_present_publicKey && that_present_publicKey))
return false;
if (!this.publicKey.equals(that.publicKey))
return false;
}
boolean this_present_left = true && this.isSetLeft();
boolean that_present_left = true && that.isSetLeft();
if (this_present_left || that_present_left) {
if (!(this_present_left && that_present_left))
return false;
if (!this.left.equals(that.left))
return false;
}
boolean this_present_right = true && this.isSetRight();
boolean that_present_right = true && that.isSetRight();
if (this_present_right || that_present_right) {
if (!(this_present_right && that_present_right))
return false;
if (!this.right.equals(that.right))
return false;
}
return true;
}