File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes how to obtain array from arraylist Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "how to obtain array from arraylist" Watch "how to obtain array from arraylist" New topic
Author

how to obtain array from arraylist

vijayakumar durai
Ranch Hand

Joined: Aug 18, 2008
Posts: 153
can any body tell how to obtain an array of type Y from a java.util.List
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

See how Java API classes are linked in our posts?

Look at the toArray method on that page, the one that takes a type.

(Gave up on trying to make that link work.)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to obtain array from arraylist
 
Similar Threads
Stored procdure return multi dimensional array?
how to get system font?
save and load JPEG image from disk
Class not found exception
Non-serializable Object to Byte Array