Add constructor with elipse argument

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: 7
    • Component/s: core-libs
    • x86
    • windows_xp

      A DESCRIPTION OF THE REQUEST :
      Add a constructor taking an ellipse argument:
      eg: public ArratList<E>(E... args);

      JUSTIFICATION :
      It would be useful while coding

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      List<String> foo = new ArrayList<>("I love", "Java", "and JEE");
      ACTUAL -
      List<String> foo = new ArrayList<>();
      foo.add"I love");
      foo.add("Java");
      foo.add("and JEE");

            Assignee:
            Joe Darcy
            Reporter:
            Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: