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