class DirectIborCapletFloorletFlatVolatilityDefinition implements IborCapletFloorletVolatilityDefinition, ImmutableBean, Serializable {

  public static DirectIborCapletFloorletFlatVolatilityDefinition of(
      IborCapletFloorletVolatilitiesName name,
      IborIndex index,
      DayCount dayCount,
      double lambda,
      CurveInterpolator interpolator) {

    return of(
        name,
        index,
        dayCount,
        lambda,
        interpolator,
        CurveExtrapolators.FLAT,
        CurveExtrapolators.FLAT);
  }

  private  DirectIborCapletFloorletFlatVolatilityDefinition(
      IborCapletFloorletVolatilitiesName name,
      IborIndex index,
      DayCount dayCount,
      double lambda,
      CurveInterpolator interpolator,
      CurveExtrapolator extrapolatorLeft,
      CurveExtrapolator extrapolatorRight);

}