[Java] Update auto-generated bindings to 0.0.117
[ldk-java] / src / main / java / org / ldk / structs / PaymentSendFailure.java
index 3f3ddfc3cd5b98c7cf4dd1dc8f1b607ed520ee07..19bf83e59f68dd5038ff476733ee3f294d090764 100644 (file)
@@ -263,4 +263,19 @@ public class PaymentSendFailure extends CommonBase {
                return ret_hu_conv;
        }
 
+       /**
+        * Checks if two PaymentSendFailures contain equal inner contents.
+        * This ignores pointers and is_owned flags and looks at the values in fields.
+        */
+       public boolean eq(org.ldk.structs.PaymentSendFailure b) {
+               boolean ret = bindings.PaymentSendFailure_eq(this.ptr, b == null ? 0 : b.ptr);
+               Reference.reachabilityFence(this);
+               Reference.reachabilityFence(b);
+               return ret;
+       }
+
+       @Override public boolean equals(Object o) {
+               if (!(o instanceof PaymentSendFailure)) return false;
+               return this.eq((PaymentSendFailure)o);
+       }
 }