[Java] Update auto-generated Java files
[ldk-java] / src / main / java / org / ldk / structs / InvoiceSignature.java
index 63a4a581255e6818fc781ec64f62a29f0fe277f5..3f9c50ada6862099d1a511c0dba90f86198c7716 100644 (file)
@@ -38,6 +38,18 @@ public class InvoiceSignature extends CommonBase {
                return ret_hu_conv;
        }
 
+       /**
+        * Checks if two InvoiceSignatures contain equal inner contents.
+        */
+       public long hash() {
+               long ret = bindings.InvoiceSignature_hash(this.ptr);
+               Reference.reachabilityFence(this);
+               return ret;
+       }
+
+       @Override public int hashCode() {
+               return (int)this.hash();
+       }
        /**
         * Checks if two InvoiceSignatures contain equal inner contents.
         * This ignores pointers and is_owned flags and looks at the values in fields.