[Java] Update auto-generated bindings to 0.0.115
[ldk-java] / src / main / java / org / ldk / structs / ExpiryTime.java
index 2d0d08052e0b136bd0de28a5051e70cec5a479b2..5c916db30952de57911e1ca5e4dd87f0bc383caa 100644 (file)
@@ -40,7 +40,7 @@ public class ExpiryTime extends CommonBase {
        }
 
        /**
-        * Checks if two ExpiryTimes contain equal inner contents.
+        * Generates a non-cryptographic 64-bit hash of the ExpiryTime.
         */
        public long hash() {
                long ret = bindings.ExpiryTime_hash(this.ptr);
@@ -56,7 +56,7 @@ public class ExpiryTime extends CommonBase {
         * This ignores pointers and is_owned flags and looks at the values in fields.
         * Two objects with NULL inner values will be considered "equal" here.
         */
-       public boolean eq(ExpiryTime b) {
+       public boolean eq(org.ldk.structs.ExpiryTime b) {
                boolean ret = bindings.ExpiryTime_eq(this.ptr, b == null ? 0 : b.ptr);
                Reference.reachabilityFence(this);
                Reference.reachabilityFence(b);
@@ -81,7 +81,7 @@ public class ExpiryTime extends CommonBase {
        }
 
        /**
-        * Construct an `ExpiryTime` from a `Duration`, dropping the sub-second part.
+        * Construct an `ExpiryTime` from a [`Duration`], dropping the sub-second part.
         */
        public static ExpiryTime from_duration(long duration) {
                long ret = bindings.ExpiryTime_from_duration(duration);
@@ -102,7 +102,7 @@ public class ExpiryTime extends CommonBase {
        }
 
        /**
-        * Returns a reference to the underlying `Duration` (=expiry time)
+        * Returns a reference to the underlying [`Duration`] (=expiry time)
         */
        public long as_duration() {
                long ret = bindings.ExpiryTime_as_duration(this.ptr);