Kevin Duffey wrote:
> Hi,
>
> >This is why I use *two* Hashtables, not one.
>
> Again..why a Hashtable instead of Hashset?
And again the answer: believe it or not, there are still people in the world
running JDK 1.1 -- which includes nearly everyone that is not on one of the
"popular" OS platforms. Even on one of the arguably most popular platforms
(Linux), production quality 1.2 JVMs are only starting to show up.
If you are in a JDK 1.2+ world, by all means use a HashSet if you properly account
for the multithread-access issues.
Yes, you can download 1.1-compatible collections classes and start using them, but
you've got to deal with the following issue: these classes were based on the
collections classes from Java Development Kit 1.2.0. What about all the bug fixes
and/or performance improvements that might have happened since? What about fixes
if you yourself find a bug?
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