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
This should do it using built in functions.
public static int minIndex (ArrayList list) { return list.indexOf (Collections.min(list)); }