/src/main/java/net/finmath/singleswaprate/data/DataTableInterpolated.java
Arrays.size( ) .asDoubleStream( ).toArray( ) , values) ;
Arrays.stream ( terminations ) .asDoubleStream ( ) .toArray ( ) , values ) ;
for(int i = 0; i< maturities.length; i++) { for(int j = 0; j < terminations.length; j++) { values[i][j] = getValue(maturities[i], terminations[j]); } } final BivariateFunction surface = interpolator.interpolate(Arrays.stream(maturities).asDoubleStream().toArray(), <extra_id_0> return surface.value(maturity, termination); } } @Override public double getValue(final double maturity, final double termination) { if(containsEntryFor(maturity, termination)) {