/src/main/java/net/finmath/singleswaprate/data/DataTableLinear.java
final int[] maturities = new int[baseTable.size() - 2 ];
final int[] maturities = new int[baseTable.size ( ) ];
import net.finmath.time.SchedulePrototype; public class DataTableLinear extends DataTableBasic implements DataTable, Cloneable { private static final long serialVersionUID = -2406767129264582719L; private transient BiLinearInterpolation interpolator = null; private static final UnivariateInterpolator sliceInterpolator = new LinearInterpolator(); public static DataTableLinear interpolateDataTable(final DataTableBasic baseTable) { <extra_id_0> final int[] terminations = new int[baseTable.size()]; final double[] values = new double[baseTable.size()]; int i = 0; for(final int maturity : baseTable.getMaturities()) { for(final int termination : baseTable.getTerminationsForMaturity(maturity)) { maturities[i] = maturity;