/src/main/java/net/finmath/montecarlo/interestrate/products/Portfolio.java
} return underlyingNames;
return underlyingNames; }
underlyingNames = productUnderlyingNames; } else { underlyingNames.addAll(productUnderlyingNames); } } } <extra_id_0> @Override public RandomVariable getValue(final double evaluationTime, final TermStructureMonteCarloSimulationModel model) throws CalculationException { RandomVariable values = new RandomVariableFromDoubleArray(0.0); for(int productIndex = 0; productIndex < products.length; productIndex++) { final RandomVariable valueOfProduct = products[productIndex].getValue(evaluationTime, model); final double weightOfProduct = weights[productIndex];