samedi 7 juin 2014

Best way to store table like data


Vote count:

0




What is the best way to store table like data like



| Column 0 | Column 1 | Column 2 | Column 3 | Column 4
Row 0 | 0.984546 | 0.654564 | 0.467676 | 0.673466 | 50.03333
Row 1 | 0.684546 | 0.457564 | 0.467776 | 0.674566 | 45.73335
Row 2 | 0.884546 | 0.424564 | 0.445676 | 0.664566 | 12.23333
Row 3 | 0.284546 | 0.054564 | 0.237676 | 0.124566 | 45.01333


Both max column and row is dynamic and the coordinates of the value is very important as I have to do calculation based on those value. It's not a database because the data is different every time and I don't want it to be forever there. Also, I need it to easily access. I try to use Linked list with Double[] but it's just too difficult for me to locate each of the value. Speed is a factor too.


Any suggestion on the type of collection I should use or ways to handle it?



asked 32 secs ago






Aucun commentaire:

Enregistrer un commentaire