This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma 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 Java Interview Guide this week in the Jobs Discussion 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: 20538

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: 3371
In addition to what Henry suggested can be handy, but it is a bit out of date.

[] | [Java job hunting know how] | [Java resumes]
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 15101

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
It's not a secret anymore!