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