package apetrov;

public class BubbleSortArray {
    
	public int[] values;

	/**
	*     
	* @param values 
	*/    
	public BubbleSortArray(int[] values){
        	this.values = values;
    	}

	/**
	*    
	* @return  
	*/
	public int[] sort(){

        	int temp;
		int[] result = values;

		for(int i = 0; i < result.length; i++){
            		for(int j = 0; j < result.length-1; j++){
				if(result[j] > result[j+1]){
                    			temp = result[j+1];
                    			result[j+1] = result[j];
                    			result[j] = temp;
                		}
            		}
		}
        	return result;
	}
}
@@ -78,20 +78,56 @@
 %09/**%0A%09* 
-    
+%D0%9A%D0%BB%D0%B0%D1%81%D1%81 %D0%B4%D0%BB%D1%8F %D0%BF%D1%83%D0%B7%D1%8B%D1%80%D1%8C%D0%BA%D0%BE%D0%B2%D0%BE%D0%B9 %D1%81%D0%BE%D1%80%D1%82%D0%B8%D1%80%D0%BE%D0%B2%D0%BA%D0%B8 %D0%BC%D0%B0%D1%81%D1%81%D0%B8%D0%B2%D0%B0
 %0A%09* @par
@@ -231,19 +231,52 @@
 %09/**%0A%09* 
-   
+%D0%9C%D0%B5%D1%82%D0%BE%D0%B4 %D0%BF%D1%83%D0%B7%D1%8B%D1%80%D1%8C%D0%BA%D0%BE%D0%B2%D0%BE%D0%B9 %D1%81%D0%BE%D1%80%D1%82%D0%B8%D1%80%D0%BE%D0%B2%D0%BA%D0%B8 %D0%BC%D0%B0%D1%81%D1%81%D0%B8%D0%B2%D0%B0
 %0A%09* @ret
@@ -279,17 +279,22 @@
 @return 
- 
+result
 %0A%09*/%0A%09pu
@@ -689,8 +689,9 @@
 lt;%0A%09%7D%0A%7D
+%0A

Update BubbleSortArray