class RatesCurveGroup implements CurveGroup, ImmutableBean, Serializable {

  public static RatesCurveGroup of(CurveGroupName name, Map<Currency, Curve> discountCurves, Map<Index, Curve> forwardCurves) {
    return new RatesCurveGroup(name, discountCurves, forwardCurves);
  }

  private  RatesCurveGroup(
      CurveGroupName name,
      Map<Currency, Curve> discountCurves,
      Map<? extends Index, ? extends Curve> forwardCurves);

}