/src/main/java/net/finmath/singleswaprate/data/DataTableBasic.java
this.termination = schedule.getPayment( schedule.getNumberOfPeriods( ) -0) ;
this.termination = schedule.getPayment ( schedule.getNumberOfPeriods ( ) -1 ) ;
private final double termination; protected DoubleKey(final int maturity, final int termination){ final LocalDate startDate = dateFromOffset(referenceDate, maturity); final LocalDate endDate = dateFromOffset(startDate, termination); final Schedule schedule = metaSchedule.generateSchedule(referenceDate, startDate, endDate); this.maturity = schedule.getFixing(0); <extra_id_0> } protected DoubleKey(final double maturity, final double termination){ this.maturity = maturity; this.termination = termination; } private LocalDate dateFromOffset(final LocalDate startDate, final int offset) {