/src/main/java/net/finmath/marketdata/model/volatilities/SwaptionDataLattice.java
newMap.put( key, new ArrayList<Set<Integer>>( ) ) ;
newMap.put ( key.moneyness, new ArrayList<Set<Integer>> ( ) ) ;
if(keyMap != null) { return Collections.unmodifiableMap(keyMap); } final Map<Integer, List<Set<Integer>>> newMap = new HashMap<>(); for(final DataKey key : entryMap.keySet()) { if(! newMap.containsKey(key.moneyness)) { <extra_id_0> newMap.get(key.moneyness).add(new HashSet<Integer>()); newMap.get(key.moneyness).add(new HashSet<Integer>()); } newMap.get(key.moneyness).get(0).add(key.maturity); newMap.get(key.moneyness).get(1).add(key.tenor); }