Link to home
Start Free TrialLog in
Avatar of ncw
ncw

asked on

Convert multi-layered arrayList to single-layered

I have an arrayList which contains items and other arrayLists which also contain items, ie multi-layered. How can I return an arrayList which is single layered, ie contains only the items in each arrayList and contains no arrayLists?
ASKER CERTIFIED SOLUTION
Avatar of superschlonz
superschlonz

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ncw
ncw

ASKER

Excellent, thanks