Hi Guys,
I'm looking for some information on HashMaps. I have searched the net but i can't find anything easy to understand or any examples of how to use them. Does anyone have any suggestions? My program reads in from a text file, information about which user used the printer, how many pages, which printer was used etc. This info is then parsed by a stringTokenizer line by line and i now need a HashMap to keep a running total of how many pages the user prints off within the file so i can charge them accordingly. Any suggestion of where else to go looking. I have two textbooks but they don't even mention HashMaps.
Cheers
Elle
I'm looking for some information on HashMaps. I have searched the net but i can't find anything easy to understand or any examples of how to use them. Does anyone have any suggestions? My program reads in from a text file, information about which user used the printer, how many pages, which printer was used etc. This info is then parsed by a stringTokenizer line by line and i now need a HashMap to keep a running total of how many pages the user prints off within the file so i can charge them accordingly. Any suggestion of where else to go looking. I have two textbooks but they don't even mention HashMaps.
Cheers
Elle