Collections
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   dcvasu_reddy
Posted On:   Tuesday, December 11, 2001 07:04 AM

Hi,

Could you please tell me

what is the diff betw HashTable, HashTree and HashMap.

Re: Collections

Posted By:   Simon_Ablett  
Posted On:   Wednesday, December 19, 2001 08:23 AM

From the JDK API documentation ('http://java.sun.com/j2se/1.3/docs/api/index.html'):


"The HashMap class is roughly equivalent to Hashtable, except that it is unsynchronized and permits nulls"


I don't know about a HashTree but HashSet implements a Set interface as a HashMap so I guess that HashTree probably implements a Tree interface as a HashMap.


Regards.
About | Sitemap | Contact