Java   View all facts   Glossary   Help
syntactic unit > statement > control flow statement > continue statement
Next control flow statementdecision making statement    Upcontrol flow statement    Previous control flow statementbreak statement   

continue statement comparison table
Subject have example continue at restart
labelled continue statement
public int indexOf(String str, int fromIndex) { 
char[] v1 = value;
char[] v2 = str.value;
int max = offset + (count - str.count);
test:
for (int i = offset + ((fromIndex < 0) ? 0 : fromIndex); i <= max ; i++) {
int n = str.count;
int j = i;
int k = str.offset;
while (n-- != 0) {
if (v1[j++] != v2[k++]) {
continue test;
}
} return i - offset;
} return -1;
}
the next iteration of the labeled loop 
unlabelled continue statement
int count = 0;
int count2 = 0;
while (count++ <= array1.length) {
if (array1[count] == 1)
continue;
array2[count2++] = (float)array1[count];
}
 the loop it is enclosed in

Next control flow statementdecision making statement    Upcontrol flow statement    Previous control flow statementbreak statement