X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Forg%2Fldk%2Fstructs%2FExpiryTime.java;h=5c916db30952de57911e1ca5e4dd87f0bc383caa;hb=4a36fa97d4eee96099c4a176ea845c52db27e64c;hp=bc1176a9b96eb53bbe2635abd04c71ddcc74d168;hpb=330ca992be304d0eac79bd59b411980dff294b03;p=ldk-java diff --git a/src/main/java/org/ldk/structs/ExpiryTime.java b/src/main/java/org/ldk/structs/ExpiryTime.java index bc1176a9..5c916db3 100644 --- a/src/main/java/org/ldk/structs/ExpiryTime.java +++ b/src/main/java/org/ldk/structs/ExpiryTime.java @@ -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); @@ -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);