aspose file tools*
The moose likes Java in General and the fly likes How to create a List from an Array? 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 create a List from an Array?" Watch "How to create a List from an Array?" New topic
Author

How to create a List from an Array?

Holmes Wong
Ranch Hand

Joined: Feb 18, 2002
Posts: 163
Hi,
I know I can get an item from an array, then add
it to a list. But what is the best way to do it?
I cannot find any array or list function to achieve it in one step. Any sugestion?
Tom Hughes
Ranch Hand

Joined: Feb 09, 2002
Posts: 86
You can turn a array into a List by using the

I think that's what you wanted.
Tom
Holmes Wong
Ranch Hand

Joined: Feb 18, 2002
Posts: 163
Thanks, very helpful.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to create a List from an Array?