@@ -0,0 +1,710 @@
+package ru.job4j;%0A%0A/**.%0A*%0A* @author Anton Vasilyuk%0A* @version 1.0%0A* @since 0.1%0A*/%0A%0Apublic class OriginAndSubString %7B%0A%09/**.%0A%09* Method for cheking string%0A%09* @param origin string%0A%09* @param sub string%0A%09* @return result%0A%09*/%0A%09public boolean contains(String origin, String sub) %7B%0A%09%09char%5B%5D originChar = origin.toCharArray();%0A%09%09char%5B%5D subChar = sub.toCharArray();%0A%09%09int n = 0;%0A%09%09boolean result = false;%0A%09%09for (int i = 0; i %3C originChar.length; i++) %7B%0A%09%09%09if (originChar%5Bi%5D == subChar%5B0%5D) %7B%0A%09%09%09%09for (int j = 0; j %3C subChar.length; j++, i++) %7B%0A%09%09%09%09%09if (originChar%5Bi%5D == subChar%5Bj%5D) %7B%0A%09%09%09%09%09%09n = n + 1;%0A%09%09%09%09%09%7D%0A%09%09%09%09%7D%0A%09%09%09%09i = originChar.length;%0A%09%09%09%7D%0A%09%09%7D%0A%09%09if (n == subChar.length) %7B%0A%09%09%09result = true;%0A%09%09%7D%0A%09%09return result;%0A%09%7D%0A%7D

add file for chapter_001_6