/src/main/java/net/finmath/integration/PiecewiseContantDoubleUnaryOperator.java
long index = Arrays.binarySearch( intervalRightPoints, operand) ;
int index = Arrays.binarySearch ( intervalRightPoints, operand ) ;
} public double getIntegral(double lowerBound, double upperBound) { return getIntegral(lowerBound, upperBound, DoubleUnaryOperator.identity()); } @Override public double applyAsDouble(double operand) { <extra_id_0> if (index < 0) { index = -index - 1; } return values[index]; } @Override