Package org.ldk.structs
Class Result_SecretKeyErrorZ
- java.lang.Object
-
- org.ldk.structs.Result_SecretKeyErrorZ
-
- Direct Known Subclasses:
Result_SecretKeyErrorZ.Result_SecretKeyErrorZ_Err,Result_SecretKeyErrorZ.Result_SecretKeyErrorZ_OK
public class Result_SecretKeyErrorZ extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classResult_SecretKeyErrorZ.Result_SecretKeyErrorZ_Errstatic classResult_SecretKeyErrorZ.Result_SecretKeyErrorZ_OK
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Result_SecretKeyErrorZclone()Creates a new CResult_SecretKeyErrorZ which has the same data as `orig` but with all dynamically-allocated buffers duplicated in new buffers.static Result_SecretKeyErrorZerr(Secp256k1Error e)Creates a new CResult_SecretKeyErrorZ in the error state.protected voidfinalize()booleanis_ok()Checks if the given object is currently in the success statestatic Result_SecretKeyErrorZok(byte[] o)Creates a new CResult_SecretKeyErrorZ in the success state.
-
-
-
Method Detail
-
finalize
protected void finalize() throws Throwable
-
ok
public static Result_SecretKeyErrorZ ok(byte[] o)
Creates a new CResult_SecretKeyErrorZ in the success state.
-
err
public static Result_SecretKeyErrorZ err(Secp256k1Error e)
Creates a new CResult_SecretKeyErrorZ in the error state.
-
is_ok
public boolean is_ok()
Checks if the given object is currently in the success state
-
clone
public Result_SecretKeyErrorZ clone()
Creates a new CResult_SecretKeyErrorZ which has the same data as `orig` but with all dynamically-allocated buffers duplicated in new buffers.
-
-