-
Enhancement
-
Resolution: Fixed
-
P4
-
1.4.1
-
tiger
-
x86
-
windows_xp
Name: rmT116609 Date: 02/24/2003
DESCRIPTION OF THE PROBLEM :
There should be a method in the java.util.Collections class that will add an array of objects to the collection. The method's stub would look like the
following:
public boolean addAll(Object[])
The contents of the array would be added to the collection in the order that they are read out of the array starting with an index of 0 and going to .length
I can think of numerous times I've written for loops just to walk over an array and add it to an arraylist.
(Review ID: 181602)
======================================================================