Package org.ldk.structs
Class Result_NetworkGraphDecodeErrorZ
- java.lang.Object
-
- org.ldk.structs.Result_NetworkGraphDecodeErrorZ
-
- Direct Known Subclasses:
Result_NetworkGraphDecodeErrorZ.Result_NetworkGraphDecodeErrorZ_Err,Result_NetworkGraphDecodeErrorZ.Result_NetworkGraphDecodeErrorZ_OK
public class Result_NetworkGraphDecodeErrorZ extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classResult_NetworkGraphDecodeErrorZ.Result_NetworkGraphDecodeErrorZ_Errstatic classResult_NetworkGraphDecodeErrorZ.Result_NetworkGraphDecodeErrorZ_OK
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Result_NetworkGraphDecodeErrorZerr(DecodeError e)Creates a new CResult_NetworkGraphDecodeErrorZ in the error state.protected voidfinalize()booleanis_ok()Checks if the given object is currently in the success statestatic Result_NetworkGraphDecodeErrorZok(byte[] o_genesis_hash, Logger o_logger)Creates a new CResult_NetworkGraphDecodeErrorZ in the success state.
-
-
-
Method Detail
-
finalize
protected void finalize() throws Throwable
-
ok
public static Result_NetworkGraphDecodeErrorZ ok(byte[] o_genesis_hash, Logger o_logger)
Creates a new CResult_NetworkGraphDecodeErrorZ in the success state.
-
err
public static Result_NetworkGraphDecodeErrorZ err(DecodeError e)
Creates a new CResult_NetworkGraphDecodeErrorZ in the error state.
-
is_ok
public boolean is_ok()
Checks if the given object is currently in the success state
-
-