(coll) Generics and collections support for generic arrays

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • None
    • Affects Version/s: 5.0
    • Component/s: core-libs

      A DESCRIPTION OF THE REQUEST :
      * Add addAll(<? extends E>[] array) to collections making them more array compatible.
      * Add containsAll(<? extends E>[] array) to collections making them more array compatible.
      * Add removeAll(<? extends E>[] array) to collections making them more array compatible.
      * Add retainAll(<? extends E>[] array) to collections making them more array compatible.
      * Prevent the need for addAll(Arrays.asList(array)).


      JUSTIFICATION :
      This is one of many RFEs produced from a community discussion at
      http://forums.java.net/jive/thread.jspa?threadID=143. Further
      justification could typically be found at the given link or off a
      thread listed at the given link.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Definately remove the need for addAll(Arrays.asList(array)).
      Backwards compatible with current generics support.

            Assignee:
            Unassigned
            Reporter:
            Ranjith Mandala (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: