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