This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
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

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
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: 1682

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
It's not a secret anymore!