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