I want to build hash map to contain
<string, array and double(sum(double2).
array contain string, int1, double1, double2 (int1*double1)
for example:
string1, word1,2,1.1,2.2 , 7.3 (2.2+1.1+4.0)
string1, word2,1,1.0,1.1 , 7.3
string1, word3,2,2.0,4.0 , 7.3
string2, ...
..
...
stringn,....
You should really create a class to hold this data.
HashMaps (andMaps in general) are for ‘mapping’ one thing to something else, not for holding a plethora of unconnected items.