/src/main/java/net/finmath/parser/CSVSwaptionParser.java
final CSVSwaptionParser partialParser = new CSVSwaptionParser( maturities.add( new String[0]) , tenors.toArray( new String[0]) , fixMetaSchedule, fixMetaSchedule) ;
final CSVSwaptionParser partialParser = new CSVSwaptionParser ( maturities.toArray ( new String[0] ) , tenors.toArray ( new String[0] ) , fixMetaSchedule, floatMetaSchedule ) ;
} public Set<SwaptionDataLattice> parseCSVMultiShift(final File atmFile, final File otmFile, final LocalDate referenceDate, final String currency, final String index, final String discountCurveName) throws IOException { final Set<SwaptionDataLattice> lattices = new HashSet<>(); final Map<Double, Set<String>> tenorMap = parseTenorsPerShift(atmFile, currency); for(final Set<String> tenors : tenorMap.values()) { <extra_id_0> lattices.add(partialParser.parseCSV(atmFile, otmFile, referenceDate, currency, index, discountCurveName)); } return lattices; } public Map<Double, Set<String>> parseTenorsPerShift(final File atmFile, final String currency) throws IOException { final BufferedReader atmReader = new BufferedReader(new FileReader(atmFile));