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