File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Hashset, Hashmap, Hashtable
Joined: Jan 13, 2005
Feb 06, 2005 23:36:00
What is the difference between Hashset, Hashmap, Hashtable?
Thanx in advance.
Joined: Dec 29, 2004
Feb 06, 2005 23:41:00
From the javadoc of
class is roughly equivalent to Hashtable, except that it is unsynchronized and permits nulls.)
As for the
, it is a class that uses hash values to store objects, but obeys the Set contract to not allow duplicate objects.
I agree. Here's the link:
subject: Hashset, Hashmap, Hashtable
how can be retrieve from any collection into our own order?
Do u agree...?
urgent questions about collection
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014