class SabrHaganVolatilityFunctionProvider extends VolatilityFunctionProvider<SabrFormulaData> implements SabrVolatilityFormula, ImmutableBean, Serializable {

  @Override
  public double volatility(double forward, double strike, double timeToExpiry, SabrFormulaData data) {
    ArgChecker.notNull(data, "data");
    double alpha = data.getAlpha();
    double beta = data.getBeta();
    double rho = data.getRho();
    double nu = data.getNu();
    return volatility(forward, strike, timeToExpiry, alpha, beta, rho, nu);
  }

  private  SabrHaganVolatilityFunctionProvider();

}