[Java] Update auto-generated Java bindings to LDK 0.0.121
[ldk-java] / src / main / java / org / ldk / structs / Bolt11InvoiceFeatures.java
index 7449c8eaae56f15079208b66b31ef72303d585a2..8cdc3093036dcd87d9d86585f9841e37bf510628 100644 (file)
@@ -55,6 +55,18 @@ public class Bolt11InvoiceFeatures extends CommonBase {
                return ret_hu_conv;
        }
 
+       /**
+        * Generates a non-cryptographic 64-bit hash of the Bolt11InvoiceFeatures.
+        */
+       public long hash() {
+               long ret = bindings.Bolt11InvoiceFeatures_hash(this.ptr);
+               Reference.reachabilityFence(this);
+               return ret;
+       }
+
+       @Override public int hashCode() {
+               return (int)this.hash();
+       }
        /**
         * Create a blank Features with no features set
         */