• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
  • Piet Souris
  • Himai Minh

Test and then reTest with a hashTable

Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi I Come here in need of some help.
I want to be able to test the hashTable to see if anything is equal to s1, And if there is get there key values and put them into a arraylist to use in another part of my code.
After I have used the values that are in the ArrayList, I need to empty the Arraylist, And also the values that are equal to s1 from the HashTable. After this is done I need to test the next string (in this case it would be s3), And use it in the same way as before, and keep doing this until I have used all the Strings that are in the HashTable.
Hope SomeOne has the solution?
This is the code I have so far.

[ January 22, 2003: Message edited by: nicky sajdok ]
He repaced his skull with glass. So you can see his brain. Kinda like this tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
    Bookmark Topic Watch Topic
  • New Topic