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