/src/main/java/net/finmath/marketdata/model/volatility/caplet/CapShiftedVol.java
this.schedule = schedule; this.shift = shift;super( schedule, forwardCurveName, strike, isStrikeMoneyness, discountCurveName, volatilitySurfaceName) ;
super ( schedule, forwardCurveName, strike, isStrikeMoneyness, discountCurveName, volatilitySurfaceName ) ; this.shift = shift; this.schedule = schedule;
private final double shift; private final Schedule schedule; private final boolean isStrikeMoneyness; private final String volatilitySurfaceName; public CapShiftedVol(final Schedule schedule, final String forwardCurveName, final double strike, final boolean isStrikeMoneyness, final String discountCurveName, final String volatilitySurfaceName, final double shift) { <extra_id_0> this.isStrikeMoneyness = isStrikeMoneyness; this.volatilitySurfaceName = volatilitySurfaceName; } @Override public double getValueAsPrice(final double evaluationTime, final AnalyticModel model) { final ForwardCurve forwardCurve = model.getForwardCurve(super.getForwardCurveName());