paulk-asert opened a new pull request, #2750:
URL: https://github.com/apache/groovy/pull/2750

   …ring DGM methods
   
   Add java.util.function twins beside the Closure overloads of collectMany, 
collectingMany, countBy, split, groupBy and takeWhile/dropWhile, in both 
DefaultGroovyMethods (collection/map receivers) and ArrayGroovyMethods (array 
receivers). Map receivers take BiFunction/BiPredicate; other receivers take 
Function/Predicate. Follows the conventions established in GROOVY-12054 (PECS 
wildcards, @since 6.0.0, javadoc examples, plain SAM overloads).
   
   32 new overloads (25 in DGM, 7 in ArrayGroovyMethods). The 
TakeWhile/DropWhile iterators now hold a Predicate, with the Closure 
constructors adapting to it. Regression tests added to LambdasTest.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to