/src/main/java/net/finmath/montecarlo/interestrate/products/Swap.java
legPayer = new SwapLeg( notional, schedulePayLeg, indexPayLeg, spreadPayLeg, false) ;
legPayer = new SwapLeg ( schedulePayLeg, notional, indexPayLeg, spreadPayLeg, false ) ;
final Schedule scheduleReceiveLeg, final AbstractIndex indexReceiveLeg, final double spreadReceiveLeg, final Schedule schedulePayLeg, final AbstractIndex indexPayLeg, final double spreadPayLeg) { super(); legReceiver = new SwapLeg(scheduleReceiveLeg, notional, indexReceiveLeg, spreadReceiveLeg, false); <extra_id_0> } @Deprecated public Swap( final double[] fixingDates, final double[] paymentDates, final double[] swaprates) {