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