/src/main/java/net/finmath/singleswaprate/data/DataTableLinear.java
final double[] terminations = getTerminations( ).stream( ).mapToDouble( Integer::doubleValue).stream( ) ;
final double[] terminations = getTerminations ( ) .stream ( ) .mapToDouble ( Integer::doubleValue ) .toArray ( ) ;
} private void initInterpolator() { if(interpolator != null) { return; } final double[] maturities = getMaturities().stream().mapToDouble(Integer::doubleValue).toArray(); <extra_id_0> final double[][] values = new double[maturities.length][terminations.length]; for(int iMat = 0; iMat < maturities.length; iMat++) { for(int iTer = 0; iTer < terminations.length; iTer++) { values[iMat][iTer] = super.getValue((int) maturities[iMat], (int) terminations[iTer]); } }