This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund 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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply Bookmark "Collections, HashMaps, etc" Watch "Collections, HashMaps, etc" New topic
Author

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?

i.e.

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

Thanks
Henry Wong
author
Sheriff

Joined: Sep 28, 2004
Posts: 16695
    
  19

Well, you can start with the JavaDoc...

http://java.sun.com/javase/6/docs/api/

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...

http://java.sun.com/docs/books/tutorial/collections/index.html

Henry


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

Joined: May 31, 2007
Posts: 3190
In addition to what Henry suggested

http://www.digilife.be/quickreferences/PT/Java%20Collections%20Framework.pdf can be handy, but it is a bit out of date.


http://www.javabeginner.com/java-collections-framework.htm


Java Interview Questions and Answers Blog | Amazon.com profile | Java Interview Books
Jesper de Jong
Java Cowboy
Bartender

Joined: Aug 16, 2005
Posts: 12929
    
    3

Here is an overview of documentation about the Collections API in the JDK documentation:
http://java.sun.com/javase/6/docs/technotes/guides/collections/index.html


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Collections, HashMaps, etc