RIP
Tutorial
Tags
Topics
Examples
eBooks
Tutorial by Examples
Spread dot operator(*.)
Spread dot operator can be used instead of collect method (1..10)*.multiply(2) // equivalent to (1..10).collect{ it *2 } d = ["hello", "world"] d*.size() // d.collect{ it.size() }
Parallel processing using Gpars
Gpars offers intuitive ways to handle tasks concurrently import groovyx.gpars.* GParsPool.withPool { def result = dataList.collectParallel { processItem(it) } }
Page 1 of 1
1
Cookie
This website stores cookies on your computer.
We use cookies to enhance your experience on our website and deliver personalized content.
For more details on our cookie usage, please review our
Cookie Policy
and
Privacy Policy
Accept all Cookies
Leave this website