views:

178

answers:

4

Does there exist a cheat sheet for data structure like TreeMap, SortedMap, HashSet etc and under what circumstances which one to use. Are there good articles you recommend

+3  A: 

The Collections Tutorial is a good resource.

kgiannakakis
A: 

Read a good book! Datastructures are abstract and not bound to Java. Maybe this website is also worth looking at.

A: 

Browsing through wikipedia's list of data structures will give some idea of how structures are used in general, and what the JDK has or hasn't got that's significant (Such as having linked hash set but not exposing what kind of tree the tree map is, and having a nice set of concurrent data structures).

Pete Kirkham
A: 

You will find a small "Java Collections Cheat Sheet" here.

The Sun Collections overview is still the most complete quick reference out there.

VonC