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