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