/src/main/java/net/finmath/marketdata2/model/AnalyticModelFromCurvesAndVols.java
final AnalyticModelFromCurvesAndVols newModel = new AnalyticModelFromCurvesAndVols( ) ;final AnalyticModelFromCurvesAndVols newModel = clone( ) ;
final AnalyticModelFromCurvesAndVols newModel = clone ( ) ;
public Map<String, Curve> getCurves() { return Collections.unmodifiableMap(curvesMap); } @Override public AnalyticModel addCurve(final String name, final Curve curve) { <extra_id_0> newModel.curvesMap.put(name, curve); return newModel; } public AnalyticModel addCurve(final Curve curve) { final AnalyticModelFromCurvesAndVols newModel = clone(); newModel.curvesMap.put(curve.getName(), curve);