Package org.ldk.structs
Class Result_ScoringParametersDecodeErrorZ
- java.lang.Object
-
- org.ldk.structs.Result_ScoringParametersDecodeErrorZ
-
- Direct Known Subclasses:
Result_ScoringParametersDecodeErrorZ.Result_ScoringParametersDecodeErrorZ_Err,Result_ScoringParametersDecodeErrorZ.Result_ScoringParametersDecodeErrorZ_OK
public class Result_ScoringParametersDecodeErrorZ extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classResult_ScoringParametersDecodeErrorZ.Result_ScoringParametersDecodeErrorZ_Errstatic classResult_ScoringParametersDecodeErrorZ.Result_ScoringParametersDecodeErrorZ_OK
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Result_ScoringParametersDecodeErrorZerr(DecodeError e)Creates a new CResult_ScoringParametersDecodeErrorZ in the error state.protected voidfinalize()booleanis_ok()Checks if the given object is currently in the success statestatic Result_ScoringParametersDecodeErrorZok(long o_base_penalty_msat_arg, long o_failure_penalty_msat_arg, short o_overuse_penalty_start_1024th_arg, long o_overuse_penalty_msat_per_1024th_arg, long o_failure_penalty_half_life_arg)Creates a new CResult_ScoringParametersDecodeErrorZ in the success state.
-
-
-
Method Detail
-
finalize
protected void finalize() throws Throwable
-
ok
public static Result_ScoringParametersDecodeErrorZ ok(long o_base_penalty_msat_arg, long o_failure_penalty_msat_arg, short o_overuse_penalty_start_1024th_arg, long o_overuse_penalty_msat_per_1024th_arg, long o_failure_penalty_half_life_arg)
Creates a new CResult_ScoringParametersDecodeErrorZ in the success state.
-
err
public static Result_ScoringParametersDecodeErrorZ err(DecodeError e)
Creates a new CResult_ScoringParametersDecodeErrorZ in the error state.
-
is_ok
public boolean is_ok()
Checks if the given object is currently in the success state
-
-