Package org.ldk.structs
Class Option_TxOutZ
- java.lang.Object
-
- org.ldk.structs.Option_TxOutZ
-
- Direct Known Subclasses:
Option_TxOutZ.None,Option_TxOutZ.Some
public class Option_TxOutZ extends Object
An enum which can either contain a crate::c_types::TxOut or not
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOption_TxOutZ.NoneWhen we're in this state, this COption_TxOutZ contains nothingstatic classOption_TxOutZ.SomeWhen we're in this state, this COption_TxOutZ contains a crate::c_types::TxOut
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Option_TxOutZclone()Creates a new COption_TxOutZ which has the same data as `orig` but with all dynamically-allocated buffers duplicated in new buffers.protected voidfinalize()static Option_TxOutZnone()Constructs a new COption_TxOutZ containing nothingstatic Option_TxOutZsome(TxOut o)Constructs a new COption_TxOutZ containing a crate::c_types::TxOut
-
-
-
Method Detail
-
finalize
protected void finalize() throws Throwable
-
some
public static Option_TxOutZ some(TxOut o)
Constructs a new COption_TxOutZ containing a crate::c_types::TxOut
-
none
public static Option_TxOutZ none()
Constructs a new COption_TxOutZ containing nothing
-
clone
public Option_TxOutZ clone()
Creates a new COption_TxOutZ which has the same data as `orig` but with all dynamically-allocated buffers duplicated in new buffers.
-
-