/src/main/java/net/finmath/singleswaprate/data/DataTableBasic.java
maturitySet.add( maturities[index]) ;newTable.terminationSet.add( terminations[index]) ;
newTable.terminationSet.add ( terminations[index] ) ;
@Override public DataTable addPoints(final int[] maturities, final int[] terminations, final double[] values) { final DataTableBasic newTable = clone(); for(int index = 0; index < maturities.length; index++) { newTable.entries.put(new DoubleKey(maturities[index], terminations[index]), values[index]); newTable.maturitySet.add(maturities[index]); <extra_id_0> } return newTable; } @Override public double getValue(final int maturity, final int termination) { final DoubleKey key = new DoubleKey(maturity, termination);