Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Groovy
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Groovy
How do I break from .each closure in groovy without throwing exceptions?
Shikhar Vaibhav
Greenhorn
Posts: 1
posted 8 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I am working on a code that requires .each closure to perform the operation. Is there any way that i can break the .each closure without using exceptions? Please help.
Tim Cooke
Sheriff
Posts: 5555
326
I like...
posted 8 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
A simple internet search would have served you well here. For example: I found
this
quite useful post on StackOverflow.
Tim Driven Development
| Test until the fear goes away
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Closures and Groovy
Implications....
Why Functions Cannot be Nested
Doubt in list Groovy GDK
Gwing
More...