class MultiCurrencyAmountArray implements FxConvertible<CurrencyAmountArray>, ImmutableBean, Serializable {

  public static MultiCurrencyAmountArray total(Iterable<CurrencyAmountArray> arrays) {
    return Guavate.stream(arrays).collect(toMultiCurrencyAmountArray());
  }

  @ImmutableConstructor private  MultiCurrencyAmountArray(int size, Map<Currency, DoubleArray> values);

}