Replacement for obsolete Hashtable class in Java
<p>When I tried to use the hashtable class, Netbeans gave me an error saying:</p>

<blockquote>
  <p>While still supported, these classes were made obsolete by the JDK1.2 collection classes, and should probably not be used in new development.</p>
</blockquote>

<p>However, I can't seem to find an example online on a better replacement for <code>Hashtable</code>. Any suggestions?</p>
