File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes Native arrays versus java.util.Array Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Native arrays versus java.util.Array" Watch "Native arrays versus java.util.Array" New topic

Native arrays versus java.util.Array

Pho Tek
Ranch Hand

Joined: Nov 05, 2000
Posts: 761

Is java.util.Array a wrapper object for native arrays
like int[].class ? When should I be using java.util.Array ?
What are its benefits (if any) when compared to native arrays
- other than the fact that it can be interchangeable with the List interface from the Collection framework ?


Val Dra
Ranch Hand

Joined: Jan 26, 2001
Posts: 439
Arrays class provides convinience methods such as search,sort arrays , etc nothing more i think.

Val SCJP <BR>going for SCJD
I agree. Here's the link:
subject: Native arrays versus java.util.Array
Similar Threads
Array Conversion
Another Array question...
java.util.array not recognised
How to return an interger array from JNI to java layer?