File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes how to Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "how to "concat" two ArrayLists ?" Watch "how to "concat" two ArrayLists ?" New topic

how to "concat" two ArrayLists ?

Artemesia Lakener
Ranch Hand

Joined: Jun 21, 2005
Posts: 162
I have two ArrayList, and each one contains a number of same type of objects. So I want to "concat" them together (because they contain same type of objects). How to do that ?
Ernest Friedman-Hill
author and iconoclast

Joined: Jul 08, 2003
Posts: 24195

[Jess in Action][AskingGoodQuestions]
It is sorta covered in the JavaRanch Style Guide.
subject: how to "concat" two ArrayLists ?
It's not a secret anymore!