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