jodd-core/src/main/java/jodd/util/ArraysUtil.java
public static int indexOf(double[] array, double value, int startIndex, int endIndex) {
		for (int i = startIndex; i < endIndex; i++) {
			if (Double.compare(array[i], value) == 0) {
				return i;
			}
		}
		return -1;
	}
public static int indexOf(double[] array, double value, int startIndex, int endIndex) {
		for (int i = startIndex; i < endIndex; i++) {
			if (Double.compare(array[i], value) == 0) {
				return i;
			}
		}
		return -1;
	}
public static int indexOf ( double [ ] array , double value , int startIndex , int endIndex ) { for ( int i = startIndex ; i < endIndex ; i ++ ) { if ( Double . compare ( array [ i ] , value ) == 0 ) { return i ; } } return - 1 ; }
Finds the first occurrence in <code>double</code> array from specified given position and upto given length.
Finds the first occurrence in <code > double< / code > array from specified given position and upto given length .