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 classOption_TypeZ.NoneWhen we're in this state, this COption_TypeZ contains nothingstatic classOption_TypeZ.SomeWhen 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_TypeZclone()Creates a new COption_TypeZ which has the same data as `orig` but with all dynamically-allocated buffers duplicated in new buffers.protected voidfinalize()static Option_TypeZnone()Constructs a new COption_TypeZ containing nothingstatic Option_TypeZsome(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.
-
-