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