Originally Posted by
dlorde
Thing is, ArrayLists and Hashtables are for quite different uses. ArrayLists are just easy-to-use dynamic arrays, whereas Hashtables are
keyed collections for mapping values onto unique keys...
I recommend a browse through the
Collections Tutorial to get the basics sorted - it doesn't take long, and it pays off big time
Great, thats what I need often, also for my current project. When I put objects in the hashtable I want to sign my own key to it, which often will be objectId() or something similar. Thanks for the link though.