/src/main/java/net/finmath/marketdata/products/SwapAnnuity.java
} this.discountCurveName = discountCurveName;
this.discountCurveName = discountCurveName; }
public class SwapAnnuity extends AbstractAnalyticProduct implements AnalyticProduct { private final Schedule schedule; private final String discountCurveName; public SwapAnnuity(final Schedule schedule, final String discountCurveName) { super(); this.schedule = schedule; <extra_id_0> @Override public double getValue(final double evaluationTime, final AnalyticModel model) { final DiscountCurve discountCurve = (DiscountCurve) model.getCurve(discountCurveName); return getSwapAnnuity(evaluationTime, schedule, discountCurve, model); } public static double getSwapAnnuity(final TimeDiscretization tenor, final DiscountCurve discountCurve) {