@@ -0,0 +1,686 @@
+package ru.sbulygin;%0A%0A/**%0A* Class Turn.%0A* @author sbulygin.%0A* @since 06.12.2016.%0A* @version 1.0.%0A*/%0A%0Apublic class Turn %7B%0A%0A    /**%0A    * Method back.%0A    * This method returns an array of inverted.%0A    * @param arr array of integer values.%0A    * @return inverted array.%0A    */%0A    public static int%5B%5D back(int%5B%5D arr) %7B%0A        if (arr == null %7C%7C arr.length %3C= 1) %7B%0A            throw new IllegalArgumentException(%22Array cannot have lenght %3C= 1 or equal to 0.%22);%0A        %7D%0A        for (int i = 0; i %3C arr.length / 2; i++) %7B%0A            int tmpCell = arr%5Bi%5D;%0A            arr%5Bi%5D = arr%5Barr.length - 1 - i%5D;%0A            arr%5Barr.length - 1 - i%5D = tmpCell;%0A        %7D%0A        return arr;%0A    %7D%0A %7D

add Turn