posted 17 years ago
I have some data in a flat file like the following :
date1 date2 date3
id1 10 12 13
id2 11 12 9
id3 7 9 4
I need to store this in a way so that a value can be easily retrieved by calling something like get(id1,date3), which should return 13.
I am currently thinking off something like this
Hashmap<int, HashMap<Date, value>>
But just wondering if there is an easier/better approach to do this?