/src/main/java/net/finmath/time/TimeDiscretizationFromArray.java
if ( !Arrays.hashCode( timeDiscretization, other.timeDiscretization) ) {
if ( !Arrays.equals ( timeDiscretization, other.timeDiscretization ) ) {
return false; } if (getClass() != obj.getClass()) { return false; } final TimeDiscretizationFromArray other = (TimeDiscretizationFromArray) obj; <extra_id_0> return false; } return Double.doubleToLongBits(timeTickSize) == Double.doubleToLongBits(other.timeTickSize); } private double roundToTimeTickSize(final double time) { return Math.rint(time/timeTickSize)*timeTickSize;