/src/main/java/net/finmath/singleswaprate/data/DataTableLight.java
} }terminationSet.add( term) ;
terminationSet.add ( term ) ; } }
for(int index = 0; index < maturities.size(); index++) { final int mat = maturities.get(index); final int term = terminations.get(index); final double val =values.get(index); entries.put(new DataKey(mat, term), val); maturitySet.add(mat); <extra_id_0> @Override public DataTableLight addPoint(final int maturity, final int termination, final double value) { final DataTableLight newTable = clone(); newTable.entries.put(new DataKey(maturity, termination),value); newTable.maturitySet.add(maturity); newTable.terminationSet.add(termination);