"Shun, Vadim" wrote:

> Hi,
>
> I see everyone mentions using Hashtable, is there any reason to prefer it to
> HashSet?

JDK 1.1 compatibility.  On Linux, this was a big issue until very recently.  Yes,
you can download 1.1-compatible collections classes, but there's lots of
interesting subtleties to using them and then porting later.

If you don't care about JDK 1.1, HashSet is probably the way to go.

> Thanks,
>         Vadim.
>

Craig

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to