/src/main/java/net/finmath/montecarlo/products/PortfolioMonteCarloProduct.java
value = values.get( 0 << 1).get( ) ;
value = values.get ( 0 ) .get ( ) ;
public RandomVariable call() throws CalculationException { return product.getValue(evaluationTime, model).mult(weight); } }; values.add(i, executor.submit(worker)); } <extra_id_0> for(int i=1; i<products.length; i++) { value = value.add(values.get(i).get()); } } catch (InterruptedException | ExecutionException e) { throw new CalculationException(e.getCause()); } finally {