groovy while loop syntax assigning and checking a variable
Posted
by Jeff Storey
on Stack Overflow
See other posts from Stack Overflow
or by Jeff Storey
Published on 2010-05-12T21:59:32Z
Indexed on
2010/05/12
22:04 UTC
Read the original article
Hit count: 181
I was reading a blog post and saw a groovy snippet that looked lik
while ( entry = inputStream.nextEntry ) {
// do something
}
In the while loop, is this groovy syntax that will cause the loop to break when entry is null?
© Stack Overflow or respective owner