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