[ https://issues.apache.org/jira/browse/GROOVY-7319?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul King reassigned GROOVY-7319: --------------------------------- Assignee: Paul King > Add primitive array min() and max() > ----------------------------------- > > Key: GROOVY-7319 > URL: https://issues.apache.org/jira/browse/GROOVY-7319 > Project: Groovy > Issue Type: Improvement > Components: groovy-jdk > Reporter: Yu Kobayashi > Assignee: Paul King > Priority: Major > > I added a package groovy.util.function. > This is similar to java.util.function of Java 8. > I added IntComparator, LongComparator, ..., to this package. > I did not use Comparator because IntComparator is faster than Comparator. > If I use Comparator, Java will create Integer instances every time. > The pull request is https://github.com/groovy/groovy-core/pull/616 -- This message was sent by Atlassian Jira (v8.20.10#820010)