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

add Map.synchronized(), List.synchronized() methods

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.0-beta-5
    • groovy-jdk
    • None

    Description

      We can do map.immutable() we should also be able to do map.synchronized() and list.synchronized().

      This is just a trivial helper method for map = CollectionUtils.synchronizedMap(map) and ditto for List - it just saves mucho typing & importing.

      Attachments

        Activity

          People

            guillaume Guillaume Sauthier
            jstrachan James Strachan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: