class CombinedCurve implements Curve, ImmutableBean, Serializable {

  public static CombinedCurve of(Curve baseCurve, Curve spreadCurve, CurveMetadata metadata) {

    return new CombinedCurve(baseCurve, spreadCurve, metadata);
  }

  @ImmutableConstructor private  CombinedCurve(
      Curve baseCurve,
      Curve spreadCurve,
      CurveMetadata metadata);

}