/src/main/java/net/finmath/singleswaprate/data/DataTableLinear.java
values[i] = super.getValue ( maturity, terminations[i] ) ;
return super.getValue(maturity, termination); } if(getMaturities().size() == 1 && getMaturities().contains(maturity)) { 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++) { <extra_id_0> } final UnivariateFunction curve = sliceInterpolator.interpolate(Arrays.stream(terminations).asDoubleStream().toArray(), values); return curve.value(termination); } else if(getTerminations().size() == 1 && getTerminations().contains(termination)){ final int[] maturities = getMaturitiesForTermination(termination).stream().mapToInt(Integer::intValue).toArray(); final double[] values = new double[maturities.length];