/src/main/java/net/finmath/singleswaprate/data/DataTableInterpolated.java
final double[] values = new double[maturities.length];final double[] values = new double[terminations.length];
final double[] values = new double[terminations.length];
public double getValue(final int maturity, final int termination) { if(containsEntryFor(maturity, termination)) { return super.getValue(maturity, termination); } if(getMaturities().contains(maturity)) { final int[] terminations = getTerminationsForMaturity(maturity).stream().mapToInt(Integer::intValue).toArray(); <extra_id_0> for(int i = 0; i < values.length; i++) { values[i] = super.getValue(maturity, terminations[i]); } final UnivariateFunction curve = sliceInterpolator.interpolate(Arrays.stream(terminations).asDoubleStream().toArray(), values); return curve.value(termination); } else if(getTerminations().contains(termination)){