You can use return. It won’t stop the whole loop, instead, it will just stop the current iteration.
Use it like this:
List<Integer> numList = Arrays.asList(10,21,31,40,59,60);
numList.forEach( x-> {
if( x%2 == 0) {
return; // only skips this iteration.
}
System.out.println(x);
});