test:
for (int i = 0; i <= max; i++) {
int n = substring.length();
int j = i;
int k = 0;
while (n-- != 0) {
if (searchMe.charAt(j++) != substring.charAt(k++)) {
continue test;
}
}
foundIt = true;
break test;
}
Sunday, 19 September 2010
Continue with label demo
Labels:
java
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment