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