Win a copy of Java 9 Modularity: Patterns and Practices for Developing Maintainable Applications this week in the Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Making Hash!  RSS feed

 
Carol Murphy
village idiot
Bartender
Posts: 1211
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Anybody have any thoughts on where I can get some good information on HashMaps/Tables? I haven't found anything but a passing reference to them in the books I have, and my searches have been rather unproductive. Thanks! ( P.S. I looked at the documentation for the classes, but without knowing anything about HashMaps/Tables, the info wasn't too helpful. ) I got some good notes from someone in the beginner's forum, but I want to know more!
 
Johannes de Jong
tumbleweed
Bartender
Posts: 5089
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Carol,
I had the same problem. When doing OOP-4 I looked high and low for a good explanation and/or example. Never did find anything very good though.
I'll let you have what I found later. must find it first again in my Favorites
But the best I found on Hash Map, was doing OOP-4 with tons of help & hints from Marilyn.
 
Marilyn de Queiroz
Sheriff
Posts: 9081
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
http://java.sun.com/docs/books/tutorial/collections/interfaces/map.html
(This is one chapter that is pretty good in Just Java 2)
 
Johannes de Jong
tumbleweed
Bartender
Posts: 5089
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Carol, turn out I lot my history and favorites. I'll have to look again.
But you can try the following in the meantime.
Go to Deja
Select the link Advanced Group search next to the Google search button.
Fill in Hashtable in the with anyof the words
In the Newsgroup fill on *java*
It will now look in all the Java newsgroups.

Hit the Google Search button and watch all the messages appear. Lots of examples.

Good luck.

ps not a bad piece about Map's Marilyn. I read it before but did not need / use it then, will re-read lunch time . Just Java chapter on hashtables good ???. Think I better re-read that too.
[This message has been edited by Johannes de Jong (edited June 14, 2001).]
 
Michael Matola
whippersnapper
Ranch Hand
Posts: 1838
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bruce Eckel's Thinking in Java has a good chapter on arrays and collections. I have the printed version of the first edition of the book. You can download a copy of the entire second edition from his website http://www.bruceeckel.com/ .
(That chapter gave me the clue I needed to get OOP-3 working and helped me out on OOP-2, by the way.)
Also, Johannes -- the first couple of chapters in that book give one of the better overviews of OO concepts that I've seen.
Mike
 
Johannes de Jong
tumbleweed
Bartender
Posts: 5089
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Micheal, I tried to read his book. But somehow it just does not work for me. But based on your recomendation I'll try again
 
Richard Boren
Ranch Hand
Posts: 233
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Carol, This is what I read/studied to get a grasp of Collections and its Collection, Set, List, and Map interfaces or abstract classes.

  • Read the section covering java.util API in Just Java.

  • Went through the Sun tutorial on collections as Marilyn pointed out.

  • Looked at the API Specifications on Collections and HashMap. Repeatedly.

  • Studied the API source for Collections and HashMaps
    (I actually stumbled into some code that became helpful for OOP-3 SortNames while studying the API source). Good stuff.

  • Studied the Java 2 SDK, Standard Edition Documentation (Version 1.3) on Collections Framework under the Guide to Features - Java Platform; Basic Features.

  • Looked at the FAQ on the CD that came with Just Java covering Collections and HashMap.


 
Johannes de Jong
tumbleweed
Bartender
Posts: 5089
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nice Richard. I like you step-by-step help

Carol have a look at this Javanotes. It has nothing on Hash as far as I can see but I like the guys way of explaing. Maybe he can fill some missing links in you Java (general PC) knowlegde.
Some of it looks very basic so pse dont be offended.
 
Matthew Phillips
Ranch Hand
Posts: 2676
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Marilyn deQueiroz:
http://java.sun.com/docs/books/tutorial/collections/interfaces/map.html
(This is one chapter that is pretty good in Just Java 2)

I highly recommend this. I am not a big fan of the Sun Java Tutorial, but for me this section clicked for me. "Thinking in Java" and "A Programmer's Guide to Java Certification" both left me more than a little confused.
Matthew Phillips
 
Matthew Phillips
Ranch Hand
Posts: 2676
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Johannes de Jong:
Nice Richard. I like you step-by-step help

Carol have a look at this Javanotes. It has [b]nothing
on Hash as far as I can see but I like the guys way of explaing. Maybe he can fill some missing links in you Java (general PC) knowlegde.
Some of it looks very basic so pse dont be offended.[/B]

This has nothing about collections, but I highly recommend this for someone learning Java as their first programming language.
Matthew Phillips
 
Carol Murphy
village idiot
Bartender
Posts: 1211
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Johannes de Jong:

Some of it looks very basic so pse dont be offended.[/B]

Offended? Heck no. Basic is good. Just what the doctor ordered. I will check all of these links/leads out when my son lets me use my computer again. Stupid computer games..........
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!