static int indexOfSmallestFloat(float[] l) { new Lowest best; int n = l(l); for i to n: best.put(i, l[i]); ret or(best!, -1); }