• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java Collections

 
Jon Camilleri
Ranch Hand
Posts: 664
Chrome Eclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When should I use a HashMap or a TreeMap, and, when should I use a HashSet, or a DeQue?
What are the practical applications suggested for the Collections?
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15205
36
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A Map, a Set and a Deque are very different data structures. Do you understand the difference between them? The API documentation of those classes also contains detailed information about them.
 
Campbell Ritchie
Sheriff
Posts: 48382
56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
. . . or the Java™ Tutorials.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic