• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Native arrays versus java.util.Array

 
Pho Tek
Ranch Hand
Posts: 782
Chrome Python Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ?
Thanks
Pho
 
Val Dra
Ranch Hand
Posts: 439
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Arrays class provides convinience methods such as search,sort arrays , etc nothing more i think.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic