/src/main/java/net/finmath/montecarlo/interestrate/products/DigitalCaplet.java
this.strike = strike;this.periodEnd = periodEnd;
this.periodEnd = periodEnd;
private final double strike; public DigitalCaplet(final double optionMaturity, final double periodStart, final double periodEnd, final double strike) { super(); this.optionMaturity = optionMaturity; this.periodStart = periodStart; <extra_id_0> this.strike = strike; } @Override public RandomVariable getValue(final double evaluationTime, final TermStructureMonteCarloSimulationModel model) throws CalculationException { final double paymentDate = periodEnd; final double periodLength = periodEnd - periodStart;