Posted By:
David_Pantich
Posted On:
Friday, December 6, 2002 08:00 AM
Hello,
Is it possible to take an iterator (returned by a method) and somehow get it into a Vector or List or some other kind of Collections object without having to build the Vector from scratch by looping through the whole iterator and adding each element to the Vector?
For example, Vector has the addAll() method but it won't take an iterator as input.
Any help would be GREATLY appreciated.