@@ -0,0 +1,897 @@
+package ru.alexandr;%0A%09/**%0A%09* DeleteDuble.%0A%09* @author Alexander Golubev.%0A%09* @since 26.12.2016%0A%09* @version 1.0%0A%09*/%0Apublic class TalkTest %7B%0A%09/**%0A%09* %D0%9C%D0%B5%D1%82%D0%BE%D0%B4 %D1%83%D0%B4%D0%B0%D0%BB%D1%8F%D0%B5%D1%82 %D0%B4%D1%83%D0%B1%D0%BB%D0%B8%D1%80%D1%83%D1%8E%D1%89%D0%B8%D0%B5 %D1%81%D1%82%D1%80%D0%BE%D0%BA%D0%B8.%0A%09* @param origin %D1%81%D1%82%D1%80%D0%BE%D0%BA%D0%B0.%0A%09* @param sub %D0%BF%D0%BE%D0%B4%D1%81%D1%82%D1%80%D0%BE%D0%BA%D0%B0.%0A%09* @return result - %D0%B2%D0%BE%D0%B7%D0%B2%D1%80%D0%B0%D1%89%D0%B0%D0%B5%D1%82 %D1%80%D0%B5%D0%B7%D1%83%D0%BB%D1%8C%D1%82%D0%B0%D1%82.%0A%09*/%0A%09public boolean contains(String origin, String sub) %7B%0A%09%09boolean containsResult = false;%0A%09%09char%5B%5D originArray = origin.toCharArray();%0A%09%09char%5B%5D subArray = sub.toCharArray();%0A%09%09for (int i = 0; i %3C originArray.length; i++) %7B%0A            if (originArray%5Bi%5D == subArray%5B0%5D) %7B%0A                for (int j = 0; j %3C subArray.length; j++) %7B%0A                    if (originArray%5Bi%5D == subArray%5Bj%5D) %7B%0A                        i++;%0A                        containsResult = true;%0A                    %7D else %7B%0A                        break;%0A                    %7D%0A                %7D%0A            %7D%0A        %7D%0A        return containsResult;%0A%09%7D%0A%7D

add structure