Package org.ldk.structs
Class Option_HTLCClaimZ
- java.lang.Object
-
- org.ldk.structs.Option_HTLCClaimZ
-
- Direct Known Subclasses:
Option_HTLCClaimZ.None
,Option_HTLCClaimZ.Some
public class Option_HTLCClaimZ extends Object
An enum which can either contain a crate::lightning::ln::chan_utils::HTLCClaim or not
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Option_HTLCClaimZ.None
When we're in this state, this COption_HTLCClaimZ contains nothingstatic class
Option_HTLCClaimZ.Some
When we're in this state, this COption_HTLCClaimZ contains a crate::lightning::ln::chan_utils::HTLCClaim
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
finalize()
static Option_HTLCClaimZ
none()
Constructs a new COption_HTLCClaimZ containing nothingstatic Option_HTLCClaimZ
some(HTLCClaim o)
Constructs a new COption_HTLCClaimZ containing a crate::lightning::ln::chan_utils::HTLCClaim
-
-
-
Method Detail
-
finalize
protected void finalize() throws Throwable
-
some
public static Option_HTLCClaimZ some(HTLCClaim o)
Constructs a new COption_HTLCClaimZ containing a crate::lightning::ln::chan_utils::HTLCClaim
-
none
public static Option_HTLCClaimZ none()
Constructs a new COption_HTLCClaimZ containing nothing
-
-