I read in a text file to created a hashmap based on the users id which is unique. This works fine, however, I also need to extract the users name, but I only need the name once and sorted. I am trying to do this with a hashset with some success. I can get the data but there are duplicates and it's not sorting. I thought the hashset would do this automatically.
Is it possible to extract this data into a hashset from the hashmap as describe...
User Profile
Collapse
-
Need help with creating a hashset and selecting distinct sorted data
Last edited by Frinavale; Sep 2 '10, 03:12 PM. Reason: Please post code in [code] ... [/code] tags. Added code tags. -
Using case statement or if logic
I have a stored proc that contains 10 other stored procs. When i pass in the variable i want it to find the stored proc that matches and execute. I am having issues w/ the case statement and am wondering if i should be using if logic. Ideas and examples appreciated.
No activity results to display
Show More