wood burning stoves 2.0*
The moose likes Java in General and the fly likes Does Java Programming Book by Poornachandra Sarang covers Collection framework in easier format Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Does Java Programming Book by Poornachandra Sarang covers Collection framework in easier format" Watch "Does Java Programming Book by Poornachandra Sarang covers Collection framework in easier format" New topic
Author

Does Java Programming Book by Poornachandra Sarang covers Collection framework in easier format

Vishal Hegde
Ranch Hand

Joined: Aug 01, 2009
Posts: 1055

I have been reading collections and still I feel that i dont know much about collections.I still have confusion on Ordering and Sorting.I know List allows duplicate elements, Set doesnot allow duplicate elements, Map uses key/value pair

Also classes like ArrayList,Vector,LinkedList are all ordered classes implementing List interface

HashSet is unsorted,unordered,
LinkedHashSet is ordered version of HashSet,
TreeSet is Sorted

and all the above three classes implement the Set interface


HashMap is an unordered,unsorted Map
Hashtable is same as HashMap except that it is synchronized
LinkedHashMap is ordered
TreeMap is sorted

and the above three classes implement the Map interface

But still i havent come across any satisfactory programming code that makes me feel good that i understood about Collection framework..I mean also Comparable and Comparator interface is confusing me.


Will this book help me understand Collection Framework in a much more simpler format??? help me gain confidence that I am good in Collections???


http://www.lifesbizzare.blogspot.com || OCJP:81%
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Does Java Programming Book by Poornachandra Sarang covers Collection framework in easier format