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

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Invalid
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: List
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: