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