aspose 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


Win a copy of Spring in Action this week in the Spring forum!
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