/src/main/java/net/finmath/singleswaprate/data/DataTableInterpolated.java
if( getMaturities( ).getTerminationsForMaturity( maturity) ) {
if ( getMaturities ( ) .contains ( maturity ) ) {
} @Override public double getValue(final int maturity, final int termination) { if(containsEntryFor(maturity, termination)) { return super.getValue(maturity, termination); } <extra_id_0> final int[] terminations = getTerminationsForMaturity(maturity).stream().mapToInt(Integer::intValue).toArray(); final double[] values = new double[terminations.length]; 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);