This week's book giveaway is in the OCAJP forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Collections, HashMaps, etc Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Collections, HashMaps, etc" Watch "Collections, HashMaps, etc" New topic

Collections, HashMaps, etc

Ashimashi Kabashi
Ranch Hand

Joined: Sep 11, 2006
Posts: 84
where can I get documentation for the different data structures in java?


Collection, ArrayList, Vector, HashTree, HasMap, LRUMap?

Henry Wong

Joined: Sep 28, 2004
Posts: 19233

Well, you can start with the JavaDoc...

There are a few basic interfaces the List, the Set, the Queue, and the Map -- all are in the java.util package. With the JavaDoc, you can figure out what implementations of each are available, etc.

Or you can start with the Sun tutorial on collections...


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
arulk pillai
Ranch Hand

Joined: May 31, 2007
Posts: 3279
In addition to what Henry suggested can be handy, but it is a bit out of date.

500+ Java Interview Questions and Answers | Java job hunting know how & Java resumes
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14487

Here is an overview of documentation about the Collections API in the JDK documentation:

Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
I agree. Here's the link:
subject: Collections, HashMaps, etc