How can I add Collections to Collections
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Chris_Adams
Posted On:   Thursday, September 27, 2001 12:30 PM

I have two ListArrays. Both even contain the same object types - how can I add one collection to the other. How can I combine them to one in the most simple form?

Re: How can I add Collections to Collections

Posted By:   AlessandroA_Garbagnati  
Posted On:   Thursday, September 27, 2001 02:33 PM

Chris,


The easiest way for solve your problem is reading the documentation.


If you read javadoc of the java.util.Collection interface you will find the addAll(Collection c) method.

About | Sitemap | Contact