aspose file tools*
The moose likes Spring and the fly likes Spring adding nested ArrayList entries Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Spring adding nested ArrayList entries" Watch "Spring adding nested ArrayList entries" New topic

Spring adding nested ArrayList entries

Ganesh Gowtham
Ranch Hand

Joined: Mar 30, 2005
Posts: 225

I would like to add all entries of list2 to list , so that when i iterate the "list" in java i will get all entries ( coolman,coolman two)

may i know how to achieve the same ?

Thanks in advance

Thanks, Ganesh Gowtham
Bill Gorder

Joined: Mar 07, 2010
Posts: 1680

Take a look at the section entitled collection merging in the reference documentation here:

[How To Ask Questions][Read before you PM me]
I agree. Here's the link:
subject: Spring adding nested ArrayList entries