I have some data in the file, which I want to store in the following format :
23 345 9.8
25 457 9.0
11 237 8.3
86 32 2.3
and so on.....
I want to store this data in in some data structure, and later I want to sort it based on the last item (i.e. third attribute 9.8/9.0 etc)
I was trying something like "List <Integer,Integer, Double>" but it does not work..
there can be duplicate rows, so there can not be a key/value etc.
what are the other alternatives I have in Java 1.7?? Any suggestions welcome...