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