Package org.ldk.structs
Class Result_SignedRawBolt11InvoiceBolt11ParseErrorZ
- java.lang.Object
-
- org.ldk.structs.Result_SignedRawBolt11InvoiceBolt11ParseErrorZ
-
- Direct Known Subclasses:
Result_SignedRawBolt11InvoiceBolt11ParseErrorZ.Result_SignedRawBolt11InvoiceBolt11ParseErrorZ_Err,Result_SignedRawBolt11InvoiceBolt11ParseErrorZ.Result_SignedRawBolt11InvoiceBolt11ParseErrorZ_OK
public class Result_SignedRawBolt11InvoiceBolt11ParseErrorZ extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classResult_SignedRawBolt11InvoiceBolt11ParseErrorZ.Result_SignedRawBolt11InvoiceBolt11ParseErrorZ_Errstatic classResult_SignedRawBolt11InvoiceBolt11ParseErrorZ.Result_SignedRawBolt11InvoiceBolt11ParseErrorZ_OK
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Result_SignedRawBolt11InvoiceBolt11ParseErrorZclone()Creates a new CResult_SignedRawBolt11InvoiceBolt11ParseErrorZ which has the same data as `orig` but with all dynamically-allocated buffers duplicated in new buffers.static Result_SignedRawBolt11InvoiceBolt11ParseErrorZerr(Bolt11ParseError e)Creates a new CResult_SignedRawBolt11InvoiceBolt11ParseErrorZ in the error state.protected voidfinalize()booleanis_ok()Checks if the given object is currently in the success statestatic Result_SignedRawBolt11InvoiceBolt11ParseErrorZok(SignedRawBolt11Invoice o)Creates a new CResult_SignedRawBolt11InvoiceBolt11ParseErrorZ in the success state.
-
-
-
Method Detail
-
finalize
protected void finalize() throws Throwable
-
ok
public static Result_SignedRawBolt11InvoiceBolt11ParseErrorZ ok(SignedRawBolt11Invoice o)
Creates a new CResult_SignedRawBolt11InvoiceBolt11ParseErrorZ in the success state.
-
err
public static Result_SignedRawBolt11InvoiceBolt11ParseErrorZ err(Bolt11ParseError e)
Creates a new CResult_SignedRawBolt11InvoiceBolt11ParseErrorZ in the error state.
-
is_ok
public boolean is_ok()
Checks if the given object is currently in the success state
-
clone
public Result_SignedRawBolt11InvoiceBolt11ParseErrorZ clone()
Creates a new CResult_SignedRawBolt11InvoiceBolt11ParseErrorZ which has the same data as `orig` but with all dynamically-allocated buffers duplicated in new buffers.
-
-