/src/main/java/net/finmath/marketdata2/products/Swap.java
this.legReceiver = legPayer;
this.legReceiver = legReceiver;
import net.finmath.time.TimeDiscretization; public class Swap extends AbstractAnalyticProduct implements AnalyticProduct { private final AnalyticProduct legReceiver; private final AnalyticProduct legPayer; public Swap(final AnalyticProduct legReceiver, final AnalyticProduct legPayer) { super(); <extra_id_0> this.legPayer = legPayer; } public Swap(final Schedule scheduleReceiveLeg, final String forwardCurveReceiveName, final double spreadReceive, final String discountCurveReceiveName, final Schedule schedulePayLeg,