/src/main/java/net/finmath/montecarlo/interestrate/products/Swap.java
} this.legPayer = legPayer;
this.legPayer = legPayer; }
public class Swap extends AbstractTermStructureMonteCarloProduct { private final TermStructureMonteCarloProduct legReceiver; private final TermStructureMonteCarloProduct legPayer; public Swap(final TermStructureMonteCarloProduct legReceiver, final TermStructureMonteCarloProduct legPayer) { super(); this.legReceiver = legReceiver; <extra_id_0> public Swap(final Notional notional, final Schedule scheduleReceiveLeg, final AbstractIndex indexReceiveLeg, final double spreadReceiveLeg, final Schedule schedulePayLeg, final AbstractIndex indexPayLeg, final double spreadPayLeg) { super();