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