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