I need to get the index value of the minimum value in my arraylist in Java. MY arraylist holds several floats, and I\'m trying to think of a way I can get the index number o
There is an easier way to find a min integer in array list:
int min = array.get(0); for (int i : array){ min = min < i ? min : i; }