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