X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Forg%2Fldk%2Fstructs%2FRawDataPart.java;fp=src%2Fmain%2Fjava%2Forg%2Fldk%2Fstructs%2FRawDataPart.java;h=2c713e8e522225d0adae2fd4ebdc7cd544d4bd01;hb=4a36fa97d4eee96099c4a176ea845c52db27e64c;hp=b7d7de1613d6fe876f89b5ea806e248c7dde5026;hpb=46763b974f120d1795fca6c1e757578784f3305a;p=ldk-java diff --git a/src/main/java/org/ldk/structs/RawDataPart.java b/src/main/java/org/ldk/structs/RawDataPart.java index b7d7de16..2c713e8e 100644 --- a/src/main/java/org/ldk/structs/RawDataPart.java +++ b/src/main/java/org/ldk/structs/RawDataPart.java @@ -9,7 +9,7 @@ import javax.annotation.Nullable; /** - * Data of the `RawInvoice` that is encoded in the data part + * Data of the [`RawInvoice`] that is encoded in the data part */ @SuppressWarnings("unchecked") // We correctly assign various generic arrays public class RawDataPart extends CommonBase { @@ -78,7 +78,7 @@ public class RawDataPart extends CommonBase { } /** - * Checks if two RawDataParts contain equal inner contents. + * Generates a non-cryptographic 64-bit hash of the RawDataPart. */ public long hash() { long ret = bindings.RawDataPart_hash(this.ptr);