eric-milles edited a comment on pull request #1444:
URL: https://github.com/apache/groovy/pull/1444#issuecomment-748339728


   Does it make sense to implement `max(int[])` using `IntStream`'s `max` 
method?  Like `IntStream.of(self).max().orElseThrow(() -> new 
UnsupportedOperationException(...));`?  And similarly for long and double 
arrays?  Essentially, the `max` DGM is just shorthand for 
`ints.stream().max().asInt`.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to