/src/main/java/net/finmath/marketdata/products/SwapLeg.java
this.notionals = notionals; this.isNotionalExchanged = isNotionalExchanged;discountCurveForNotionalResetName = discountCurveName;
discountCurveForNotionalResetName = discountCurveName; this.isNotionalExchanged = isNotionalExchanged; this.notionals = notionals;
super(); this.cashFlowEffectiveDate = cashFlowEffectiveDate; this.legSchedule = legSchedule; this.forwardCurveName = forwardCurveName; this.spreads = spreads; this.discountCurveName = discountCurveName; <extra_id_0> } @Deprecated public SwapLeg(final Optional<LocalDateTime> cashFlowEffectiveDate, final Schedule legSchedule, final String forwardCurveName, final double[] notionals, final double[] spreads, final String discountCurveName, final boolean isNotionalExchanged) { this(cashFlowEffectiveDate.orElse(null), legSchedule, forwardCurveName, notionals, spreads, discountCurveName, isNotionalExchanged); } public SwapLeg(final Schedule legSchedule, final String forwardCurveName, final double[] notionals, final double[] spreads, final String discountCurveName, final boolean isNotionalExchanged) {