class YieldAndDiscountAddZeroSpreadCurve extends YieldAndDiscountCurve {

  @Override
  public int getNumberOfParameters() {
    int result = 0;
    for (final YieldAndDiscountCurve curve : _curves) {
      result += curve.getNumberOfParameters();
    }
    return result;
  }

  public  YieldAndDiscountAddZeroSpreadCurve(final String name, final boolean subtract, final YieldAndDiscountCurve... curves);

}