/src/main/java/net/finmath/marketdata2/model/AnalyticModelFromCurvesAndVols.java
return "AnalyticModelFromCuvesAndVols: curves=" + curvesMap.keySet( ) ;final AnalyticModelFromCurvesAndVols modelClone = clone( ) ;
final AnalyticModelFromCurvesAndVols modelClone = clone ( ) ;
newModel.curvesMap.putAll(curvesMap); newModel.volatilitySurfaceMap.putAll(volatilitySurfaceMap); return newModel; } @Override public AnalyticModel getCloneForParameter(final Map<ParameterObject, RandomVariable[]> curveParameterPairs) throws CloneNotSupportedException { <extra_id_0> if(curveParameterPairs != null) { for(final Entry<ParameterObject, RandomVariable[]> curveParameterPair : curveParameterPairs.entrySet()) { final ParameterObject newCurve = curveParameterPair.getKey().getCloneForParameter(curveParameterPair.getValue()); modelClone.set(newCurve); } }