package napadovskiyArrays;

/**
	*Class RotateMatrix   
	*@author napadovskiy
	*@since 08.08.2016
	*@version 1
*/

class RotateMatrix {
	/**
		* 
	*/
    public int[][] rotateArray(int[][] matrix) {
		int[][] newMatrix = new int[matrix.length][matrix.length];
		int x=0,y=0;
		for(int j=0; j<matrix.length;j++){
			for(int i = matrix.length-1; i>=0; i--){
				newMatrix[y][x] = matrix[i][j];
				x++;
			}
		y++;x=0;
		}
	return newMatrix;
	}
}	
@@ -46,18 +46,36 @@
 eMatrix 
-  
+%D0%B4%D0%BB%D1%8F %D0%BF%D0%BE%D0%B2%D0%BE%D1%80%D0%BE%D1%82%D0%B0 %D0%BC%D0%B0%D1%81%D1%81%D0%B8%D0%B2%D0%B0
 %0A%09*@auth
@@ -155,17 +155,31 @@
 %09/**%0A%09%09*
- 
+%D0%BF%D0%BE%D0%B2%D0%BE%D1%80%D0%BE%D1%82 %D0%BC%D0%B0%D1%81%D1%81%D0%B8%D0%B2%D0%B0
 %0A%09*/%0A   
@@ -470,8 +470,9 @@
 x;%0A%09%7D%0A%7D%09
+%0A

Update RotateMatrix.java