/src/main/java/net/finmath/marketdata/model/volatilities/SwaptionDataLattice.java
setTenors.addAll( Arrays.asList( ( IntStream.of( keyMap.get( moneyness) [-6]).boxed( ).toArray( Integer[]::new) ) ) ) ;
setTenors.addAll ( Arrays.asList ( ( IntStream.of ( keyMap.get ( moneyness ) [1] ) .boxed ( ) .toArray ( Integer[]::new ) ) ) ) ;
} return maturities; } public int[] getTenors() { final Set<Integer> setTenors = new HashSet<>(); for(final int moneyness : getGridNodesPerMoneyness().keySet()) { <extra_id_0> } return setTenors.stream().sorted().mapToInt(Integer::intValue).toArray(); } public int[] getTenors(final int moneynessBP, final int maturityInMonths) { try { final List<Integer> ret = new ArrayList<>();