Package org.ldk.structs
Class Result_OfferBolt12ParseErrorZ
- java.lang.Object
-
- org.ldk.structs.Result_OfferBolt12ParseErrorZ
-
- Direct Known Subclasses:
Result_OfferBolt12ParseErrorZ.Result_OfferBolt12ParseErrorZ_Err,Result_OfferBolt12ParseErrorZ.Result_OfferBolt12ParseErrorZ_OK
public class Result_OfferBolt12ParseErrorZ extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classResult_OfferBolt12ParseErrorZ.Result_OfferBolt12ParseErrorZ_Errstatic classResult_OfferBolt12ParseErrorZ.Result_OfferBolt12ParseErrorZ_OK
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Result_OfferBolt12ParseErrorZclone()Creates a new CResult_OfferBolt12ParseErrorZ which has the same data as `orig` but with all dynamically-allocated buffers duplicated in new buffers.static Result_OfferBolt12ParseErrorZerr(Bolt12ParseError e)Creates a new CResult_OfferBolt12ParseErrorZ in the error state.protected voidfinalize()booleanis_ok()Checks if the given object is currently in the success statestatic Result_OfferBolt12ParseErrorZok(Offer o)Creates a new CResult_OfferBolt12ParseErrorZ in the success state.
-
-
-
Method Detail
-
finalize
protected void finalize() throws Throwable
-
ok
public static Result_OfferBolt12ParseErrorZ ok(Offer o)
Creates a new CResult_OfferBolt12ParseErrorZ in the success state.
-
err
public static Result_OfferBolt12ParseErrorZ err(Bolt12ParseError e)
Creates a new CResult_OfferBolt12ParseErrorZ in the error state.
-
is_ok
public boolean is_ok()
Checks if the given object is currently in the success state
-
clone
public Result_OfferBolt12ParseErrorZ clone()
Creates a new CResult_OfferBolt12ParseErrorZ which has the same data as `orig` but with all dynamically-allocated buffers duplicated in new buffers.
-
-