Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • 1
    Why does "New York" become "2"? Commented May 23, 2012 at 22:18
  • 7
    I suggest you actually read the documentation on HashTable (and classes it descends from). This is not a code-generation site, you know. Commented May 23, 2012 at 22:18
  • How much data do you actually have? Do you really need a Hashtable? have you looked at using a simple Map? Commented May 23, 2012 at 22:19
  • 2
    I would recommend HashMap for a standard "go to" implementation, because being newer is cooler ;-) (Although HashTable has been retrofitted to Map.) Commented May 23, 2012 at 22:20