Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Collections

 
Paul Bull
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
Does anyone have any information on when a particular collection
(hashmap,arraylist etc.) should be used over another. What situation a particular collection should be used in, professional examples of how and why certain collections. If anybody knows of any good literature on this topic or has some personal information it would be much appreciated.
Thanks,
Paul
 
Bosun Bello
Ranch Hand
Posts: 1511
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check out the collections framework at http://developer.java.sun.com/developer/onlineTraining/collections/Collection.html.

Bosun
 
Chad McGowan
Ranch Hand
Posts: 265
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bruce Eckel's free book "Thinking in Java" has a really good chapter on this. See www.bruceeckel.com
Chad
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic