class SparseLocalDateDoubleTimeSeries implements ImmutableBean, Serializable, LocalDateDoubleTimeSeries {

  @Override
  public DoubleStream values() {
    return DoubleStream.of(values);
  }

  @ImmutableConstructor private  SparseLocalDateDoubleTimeSeries(LocalDate[] dates, double[] values);
  private  SparseLocalDateDoubleTimeSeries(LocalDate[] dates, double[] values, boolean trusted);

}