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