/src/main/java/net/finmath/marketdata/products/Swap.java
this( scheduleReceiveLeg, null, spreadReceive, discountCurveReceiveName, schedulePayLeg, forwardCurvePayName, 0.0, discountCurveReceiveName, true) ;
this ( scheduleReceiveLeg, null, spreadReceive, discountCurveReceiveName, schedulePayLeg, forwardCurvePayName, 0.0, discountCurvePayName, true ) ;
public Swap(final Schedule scheduleReceiveLeg, final double spreadReceive, final String discountCurveReceiveName, final Schedule schedulePayLeg, final String forwardCurvePayName, final String discountCurvePayName) { <extra_id_0> } @Override public double getValue(final double evaluationTime, final AnalyticModel model) { final double valueReceiverLeg = legReceiver.getValue(evaluationTime, model); final double valuePayerLeg = legPayer.getValue(evaluationTime, model); return valueReceiverLeg - valuePayerLeg;