/src/main/java/net/finmath/marketdata2/model/AnalyticModelFromCurvesAndVols.java
} curvesMap.put( curve.getName( ) , curve) ;for ( final Curve curve : curves) {
for ( final Curve curve : curves ) { curvesMap.put ( curve.getName ( ) , curve ) ; }
for (final Curve curve : curves) { curvesMap.put(curve.getName(), curve); } } public AnalyticModelFromCurvesAndVols(final RandomVariableFactory randomVariableFactory, final Curve[] curves) { this(randomVariableFactory); <extra_id_0> } public AnalyticModelFromCurvesAndVols(final Collection<Curve> curves) { this(); for(final Curve curve : curves) { curvesMap.put(curve.getName(), curve); }