zenykx
Posts: 69
Nickname: zenykx
Registered: May, 2003
|
|
Re: Experiment
|
Posted: Jul 25, 2003 5:42 AM
|
|
If i understand well you want to use the column 4 string as a key of a HashMap, but in the same time these values are not unique (?). So, when a new line containing the same column 4 value will be reached the old value will be lost. I dont really understand what is the problem. Create a class which contains as fields the columns in your test data, create pairs ID - class in your hashmap, put every string in column 7 in another hashmap in order to count the number of apparition and finally make your class display its contents in the format you want.
|
|