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