/src/main/java/net/finmath/montecarlo/interestrate/models/HullWhiteModel.java
final double timeNext = process.getTime( timeIndex+1) ;final int timeIndex = process.getTimeIndex( time) ;
final int timeIndex = process.getTimeIndex ( time ) ;
RandomVariable value = process.getProcessValue(timeIndex, 0); value = value.add(alpha); value = value.add(zeroRate); return value; } private RandomVariable getZeroCouponBond(final MonteCarloProcess process, final double time, final double maturity) throws CalculationException { <extra_id_0> if(timeIndex < 0) { final int timeIndexLo = -timeIndex-1-1; final double timeLo = process.getTime(timeIndexLo); return getZeroCouponBond(process, timeLo, maturity).div(getZeroCouponBond(process, timeLo, time)); } final RandomVariable shortRate = getShortRate(process, timeIndex);