Package org.ldk.structs
Class Result_Bolt11InvoiceBolt11SemanticErrorZ
- java.lang.Object
-
- org.ldk.structs.Result_Bolt11InvoiceBolt11SemanticErrorZ
-
- Direct Known Subclasses:
Result_Bolt11InvoiceBolt11SemanticErrorZ.Result_Bolt11InvoiceBolt11SemanticErrorZ_Err,Result_Bolt11InvoiceBolt11SemanticErrorZ.Result_Bolt11InvoiceBolt11SemanticErrorZ_OK
public class Result_Bolt11InvoiceBolt11SemanticErrorZ extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classResult_Bolt11InvoiceBolt11SemanticErrorZ.Result_Bolt11InvoiceBolt11SemanticErrorZ_Errstatic classResult_Bolt11InvoiceBolt11SemanticErrorZ.Result_Bolt11InvoiceBolt11SemanticErrorZ_OK
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Result_Bolt11InvoiceBolt11SemanticErrorZclone()Creates a new CResult_Bolt11InvoiceBolt11SemanticErrorZ which has the same data as `orig` but with all dynamically-allocated buffers duplicated in new buffers.static Result_Bolt11InvoiceBolt11SemanticErrorZerr(Bolt11SemanticError e)Creates a new CResult_Bolt11InvoiceBolt11SemanticErrorZ in the error state.protected voidfinalize()booleanis_ok()Checks if the given object is currently in the success statestatic Result_Bolt11InvoiceBolt11SemanticErrorZok(Bolt11Invoice o)Creates a new CResult_Bolt11InvoiceBolt11SemanticErrorZ in the success state.
-
-
-
Method Detail
-
finalize
protected void finalize() throws Throwable
-
ok
public static Result_Bolt11InvoiceBolt11SemanticErrorZ ok(Bolt11Invoice o)
Creates a new CResult_Bolt11InvoiceBolt11SemanticErrorZ in the success state.
-
err
public static Result_Bolt11InvoiceBolt11SemanticErrorZ err(Bolt11SemanticError e)
Creates a new CResult_Bolt11InvoiceBolt11SemanticErrorZ in the error state.
-
is_ok
public boolean is_ok()
Checks if the given object is currently in the success state
-
clone
public Result_Bolt11InvoiceBolt11SemanticErrorZ clone()
Creates a new CResult_Bolt11InvoiceBolt11SemanticErrorZ which has the same data as `orig` but with all dynamically-allocated buffers duplicated in new buffers.
-
-