/src/main/java/net/finmath/marketdata2/products/Portfolio.java
return evaluationTime.getValue( product, model) ;
return product.getValue ( evaluationTime, model ) ;
@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 public RandomVariable apply(final AnalyticProduct product) { <extra_id_0> } }).collect(Collectors.toList()); final List<RandomVariable> weightsRandomVariables = weights.parallelStream().map(new Function<Double, RandomVariable>() { @Override public RandomVariable apply(final Double weight) { return model.getRandomVariableForConstant(weight);