/src/main/java/net/finmath/modelling/descriptor/AnalyticModelDescriptor.java
this.volatilitySurfaceMap = new HashMap<>( ) ;curvesMap = new HashMap<>( ) ;
curvesMap = new HashMap<> ( ) ;
private final LocalDate referenceDate; private final Map<String, Curve> curvesMap; private final Map<String, VolatilitySurface> volatilitySurfaceMap; public AnalyticModelDescriptor(final LocalDate referenceDate, final Collection<Curve> curves, final Collection<VolatilitySurface> surfaces) { super(); this.referenceDate = referenceDate; <extra_id_0> volatilitySurfaceMap = new HashMap<>(); if(curves != null) { for(final Curve curve : curves) { curvesMap.put(curve.getName(), curve); } }