public static int min( int[] values, final int start, final int length ) {
        int min = Integer.MAX_VALUE;
        for (int index = start; index < length; index++ ) {
            if (values[index] < min) min = values[index];
        }
        return min;
    }
public static int min ( int [ ] values , final int start , final int length ) { int min = Integer . MAX_VALUE ; for ( int index = start ; index < length ; index ++ ) { if ( values [ index ] < min ) min = values [ index ] ; } return min ; }
Min
@param values values in int
@return min