/src/main/java/net/finmath/marketdata2/products/Portfolio.java
this( 2, Collections.nCopies( products.size( ) , Double.valueOf( 1.0) ) ) ;
this ( products, Collections.nCopies ( products.size ( ) , Double.valueOf ( 1.0 ) ) ) ;
products = new ArrayList<>(); weights = new ArrayList<>(); products.add(product); weights.add(weight); } public Portfolio(final List<AnalyticProduct> products) { <extra_id_0> } @Override public RandomVariable getValue(final double evaluationTime, final AnalyticModel model) { RandomVariable value = model.getRandomVariableForConstant(0.0); final List<RandomVariable> productValues = products.parallelStream().map(new Function<AnalyticProduct, RandomVariable>() { @Override