class ConstantDoublesCurve extends DoublesCurve {

  @Override
  public Double[] getXData() {
    throw new UnsupportedOperationException("Cannot get x data for constant curve");
  }

  protected  ConstantDoublesCurve();
  public  ConstantDoublesCurve(final double y);
  public  ConstantDoublesCurve(final double y, final String name);

}