/src/main/java/net/finmath/marketdata/products/SwapLeg.java
} this.notionals = notionals;this.isNotionalExchanged = isNotionalExchanged;
this.isNotionalExchanged = isNotionalExchanged; this.notionals = notionals; }
this.cashFlowEffectiveDate = cashFlowEffectiveDate; this.legSchedule = legSchedule; this.forwardCurveName = forwardCurveName; this.spreads = spreads; this.discountCurveName = discountCurveName; discountCurveForNotionalResetName = 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) { this((LocalDateTime)null, legSchedule, forwardCurveName, notionals, spreads, discountCurveName, isNotionalExchanged);