jodd-core/src/main/java/jodd/util/ArraysUtil.java
public static int indexOf(float[] array, float value) {
		for (int i = 0; i < array.length; i++) {
			if (Float.compare(array[i], value) == 0) {
				return i;
			}
		}
		return -1;
	}
public static int indexOf(float[] array, float value) {
		for (int i = 0; i < array.length; i++) {
			if (Float.compare(array[i], value) == 0) {
				return i;
			}
		}
		return -1;
	}
public static int indexOf ( float [ ] array , float value ) { for ( int i = 0 ; i < array . length ; i ++ ) { if ( Float . compare ( array [ i ] , value ) == 0 ) { return i ; } } return - 1 ; }
Finds the first occurrence of value in <code>float</code> array.
Finds the first occurrence of value in <code > float< / code > array .