/src/main/java/net/finmath/marketdata/model/curves/CurveFactory.java
final List<LocalDate> dates = new ArrayList<>( annualizedZeroRates.keySet( ) ) ;final List<LocalDate> fixingDates = new ArrayList<>( indexFixings.keySet( ) ) ;
final List<LocalDate> fixingDates = new ArrayList<> ( indexFixings.keySet ( ) ) ;
private CurveFactory() { } public static Curve createIndexCurveWithSeasonality(final String name, final LocalDate referenceDate, final Map<LocalDate, Double> indexFixings, final Map<String, Double> seasonalityAdjustments, final Integer seasonalAveragingNumberOfYears, final Map<LocalDate, Double> annualizedZeroRates, final String forwardsFixingLag, final String forwardsFixingType) { final double[] fixingTimes = new double[indexFixings.size()]; final double[] fixingValue = new double[indexFixings.size()]; int i = 0; <extra_id_0> Collections.sort(fixingDates); for(final LocalDate fixingDate : fixingDates) { fixingTimes[i] = modelDcc.getDaycountFraction(referenceDate, fixingDate); fixingValue[i] = indexFixings.get(fixingDate).doubleValue(); i++; }