class QuoteScenarioArrayId implements ScenarioMarketDataId<Double, QuoteScenarioArray>, ImmutableBean, Serializable {

  @Override
  public QuoteScenarioArray createScenarioValue(MarketDataBox<Double> marketDataBox, int scenarioCount) {
    return QuoteScenarioArray.of(DoubleArray.of(scenarioCount, i -> marketDataBox.getValue(i)));
  }

  private  QuoteScenarioArrayId(
      QuoteId id);

}