jbnizet
11/07/2015, 1:41 PMindices. Not applicable here though. I’m iterating over a large array and filling a smaller one, and I want to stop iterating over the large array as soon as the small one is filled. Not the most common use-case of course, but in general, I’m just wondering if there is any equivalent to the somewhat common Java loop for (int i = 0; i < array.length && someArbitraryCondition; i++).