Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Test and then reTest with a hashTable  RSS feed

nicky sajdok
Posts: 14
  • Mark post as helpful
  • send pies
  • 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 ]
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!