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