[Java] Update auto-generated Java bindings to LDK 0.0.121
[ldk-java] / src / main / java / org / ldk / structs / ReplyChannelRange.java
index 74550475afa572a6033de17318ce62710a80999e..10ca61a3c511c876873c1c270abd9791d23b9288 100644 (file)
@@ -156,6 +156,18 @@ public class ReplyChannelRange extends CommonBase {
                return ret_hu_conv;
        }
 
+       /**
+        * Generates a non-cryptographic 64-bit hash of the ReplyChannelRange.
+        */
+       public long hash() {
+               long ret = bindings.ReplyChannelRange_hash(this.ptr);
+               Reference.reachabilityFence(this);
+               return ret;
+       }
+
+       @Override public int hashCode() {
+               return (int)this.hash();
+       }
        /**
         * Checks if two ReplyChannelRanges contain equal inner contents.
         * This ignores pointers and is_owned flags and looks at the values in fields.