/src/main/java/net/finmath/marketdata/model/curves/CurveInterpolation.java
final Point point = new Point( time, Double. false) ;
final Point point = new Point ( time, Double.NaN, false ) ;
for(int i=0; i<points.size(); i++) { times[i] = points.get(i).time; } return times; } protected int getTimeIndex(final double time) { <extra_id_0> return java.util.Collections.binarySearch(points, point); } protected int getParameterIndex(final double time) { final Point point = new Point(time, Double.NaN, false); return java.util.Collections.binarySearch(pointsBeingParameters, point); }