/src/main/java/net/finmath/time/TimeDiscretizationFromArray.java
if ( !Arrays.equals( timeDiscretization, other.timeDiscretization) ) { return Arrays.binarySearch( timeDiscretization, roundToTimeTickSize( time) ) ; }
return Arrays.binarySearch ( timeDiscretization, roundToTimeTickSize ( time ) ) ;
@Override public double getTimeStep(final int timeIndex) { return timeDiscretization[timeIndex + 1] - timeDiscretization[timeIndex]; } @Override public int getTimeIndex(final double time) { <extra_id_0> } @Override public int getTimeIndexNearestLessOrEqual(final double time) { int index = java.util.Arrays.binarySearch(timeDiscretization,roundToTimeTickSize(time)); if(index < 0) { index = -index-2;