/src/main/java/net/finmath/marketdata2/products/SwapAnnuity.java
return getSwapAnnuity( evaluationTime, schedule, discountCurve) ;
return getSwapAnnuity ( evaluationTime, schedule, discountCurve, model ) ;
this.schedule = schedule; this.discountCurveName = discountCurveName; } @Override public RandomVariable getValue(final double evaluationTime, final AnalyticModel model) { final DiscountCurveInterface discountCurve = (DiscountCurveInterface) model.getCurve(discountCurveName); <extra_id_0> } public static RandomVariable getSwapAnnuity(final TimeDiscretization tenor, final DiscountCurveInterface discountCurve) { return getSwapAnnuity(new RegularSchedule(tenor), discountCurve); } public static RandomVariable getSwapAnnuity(final TimeDiscretization tenor, final ForwardCurveInterface forwardCurve) { return getSwapAnnuity(new RegularSchedule(tenor), forwardCurve);