Validate.notNull(swaption);
Validate.notNull(curves);
if (curves instanceof SABRInterestRateDataBundle) {
final SABRInterestRateDataBundle sabr = (SABRInterestRateDataBundle) curves;
final SwaptionPhysicalFixedIborSABRExtrapolationRightMethod method = new SwaptionPhysicalFixedIborSABRExtrapolationRightMethod(_cutOffStrike, _mu);
return method.presentValue(swaption, sabr);
}
throw new UnsupportedOperationException("The PresentValueSABRExtrapolationCalculator visitor visitSwaptionPhysicalFixedIbor requires a SABRInterestRateDataBundle as data.");
}
@Override