Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / February 2006

Tip: Looking for answers? Try searching our database.

how to write a hash table to file

Thread view: 
bburt083 - 21 Feb 2006 02:07 GMT
Hello,

I'm trying to found out how to write a hash table to a file in java.
Can someone please help me or point me to a good tutorial.

Thank you
teja - 21 Feb 2006 11:16 GMT
check it out

http://builder.com.com/5110-6370-1049463.html

http://builder.com.com/5100-6370-1049436.html
Roedy Green - 24 Feb 2006 20:31 GMT
>I'm trying to found out how to write a hash table to a file in java.
>Can someone please help me or point me to a good tutorial.

see http://mindprod.com/jgloss/HashMap.html
http://mindprod.com/jgloss/HashTable.html

It will tell you more than you wanted to know. Follow links to Sun's
documentation, and believe it or not, read the source.
It is far shorter than the English language explanations of how it
works.
Signature

Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.

Paul Hamaker - 24 Feb 2006 20:46 GMT
bburt083,
all collection implementations implement Serializable, so if the
elements in them are Serializable, too, you can write a collection to
disk using ObjectOutputStream plus FileOutputStream.
For an example of using OOS, you could look at this lesson :
http://javalessons.com/cgi-bin/fun/java-tutorials-main.cgi?ses=ao789&sub=adv&code=obs
--------------------
Paul Hamaker, SEMM, teaching ICT since 1987
http://javalessons.com


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.