Skip to content
Snippets Groups Projects
Verified Commit 1b19649a authored by David Procházka's avatar David Procházka
Browse files

DEL: unused utils

parent 0855b474
No related branches found
No related tags found
No related merge requests found
package mhtree;
import java.util.List;
public class Utils {
public static int getIndexOfMinElement(List<Float> x) {
float min = Float.MAX_VALUE;
int index = -1;
for (int i = 0; i < x.size(); i++) {
if (x.get(i) < min) {
min = x.get(i);
index = i;
}
}
return index;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment