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