Here you can find the source of maxIndex(float[] from, int start)
public static int maxIndex(float[] from, int start)
//package com.java2s; //License from project: Apache License public class Main { public static int maxIndex(float[] from, int start) { int result = start; for (int i = start; i < from.length; ++i) if (from[i] > from[result]) result = i;/* ww w .j a v a 2 s.co m*/ return result; } }