Thread: Storing Data
View Single Post
  #1 (permalink)  
Old 08-02-2007, 06:26 AM
Khorod Khorod is offline
Member
 
Join Date: Aug 2007
Posts: 1
Khorod is on a distinguished road
Storing Data
Goodday everyone,

About 3 weeks ago i have started picking up java, and trying to grasp the basics i decided to try and put together a simple yet challenging program.

the program basicly needs to store multiple names and a value that goes with each name to a file, after which i want to be able to edit and change the value.

Now my question is what would be the best way to realise this (keep in mind i might want to display the entire list in a GUI) i was thinking of having an array go through the file each time you want to change a value by searching for the name that the user inputs, however this seems rather difficult in terms of flexibility, i also noticed the Linkedlist in the API, at first glance however it seems this only stores 1 variable (be it string or int) and not 2?

Could someone give me a push in the right direction?

Thanks in advance, Khorod.
Reply With Quote
Sponsored Links