class ConstantCurve implements Curve, ImmutableBean, Serializable {

  public static ConstantCurve of(String name, double yValue) {
    return of(CurveName.of(name), yValue);
  }

  private  ConstantCurve(
      CurveMetadata metadata,
      double yValue);

}