Why do you need this method?
public static int min(int minim, int e) {
    return minim < e ? minim : e;
}
This method is clearly superfluous.