Uploaded image for project: 'Commons Collections'
  1. Commons Collections
  2. COLLECTIONS-368

New method in ListUtils to create Lists populated with var-args elements

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Invalid
    • None
    • None
    • List
    • None

    Description

      Sometimes it is very useful to be able to create new and populate List objects in the same way that can be done with arrays by using the braces initialisation. My patch is an implementation of this for ListUtils with corresponding unit tests. Hoping for inclusion as soon as possible. Any comments are welcome.

      Attachments

        1. addcreatelist.patch
          8 kB
          Henrik Segesten

        Activity

          People

            Unassigned Unassigned
            eldakkar Henrik Segesten
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: