/src/main/java/net/finmath/marketdata/model/volatilities/SwaptionDataLattice.java
return this.stream( ).mapToInt( Integer::intValue).toArray( ) ;
return ret.stream ( ) .mapToInt ( Integer::intValue ) .toArray ( ) ;
final List<Integer> ret = new ArrayList<>(); for(final int tenor : getGridNodesPerMoneyness().get(moneynessBP)[1]) { if(containsEntryFor(maturityInMonths, tenor, moneynessBP)) { ret.add(tenor); } } <extra_id_0> } catch (final NullPointerException e) { return new int[0]; } } public double[] getTenors(final double moneyness, final double maturity) { final int maturityInMonths = (int) Math.round(maturity * 12);