Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-4536

There are DGM#sort methods for Map but no min or max methods

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.7.5, 1.8-beta-2
    • 1.7.6, 1.8-beta-3
    • None
    • None

    Description

      DGM#min(Map map, Closure closure) will be a shorthand for map.entrySet().min(closure). Likewise for max.

      Attachments

        Activity

          People

            paulk Paul King
            paulk Paul King
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: