/src/main/java/net/finmath/marketdata/model/volatilities/SwaptionDataLattice.java
combined.entryMap.putAll( this) ;
combined.entryMap.putAll ( entryMap ) ;
moneynesss.stream().mapToInt(Integer::intValue).toArray(), values.stream().mapToDouble(Double::doubleValue).toArray()); } public SwaptionDataLattice append(final SwaptionDataLattice other, final AnalyticModel model) { final SwaptionDataLattice combined = new SwaptionDataLattice(referenceDate, quotingConvention, displacement, forwardCurveName, discountCurveName, floatMetaSchedule, fixMetaSchedule); <extra_id_0> if(quotingConvention == other.quotingConvention && displacement == other.displacement) { combined.entryMap.putAll(other.entryMap); } else { final SwaptionDataLattice converted = other.convertLattice(quotingConvention, displacement, model); combined.entryMap.putAll(converted.entryMap); }