|
-
Apr 26th, 2007, 08:19 AM
#1
Thread Starter
Addicted Member
[2005] I need clear idea about generics and collections?
Hi All,
I am developing a addressbook application. The application reads,stores and finds the id,name,address,city,phone.
I am inheriting Array list collection for CONTACTS class which holds id,name,address... and so on. The add and remove methods uses to store and delete purpose in the contacts collection.
Doubt no. 1. How could I map the fields with the members(name,address...)
If I need to store the arraylist values to the database, Is I have to iterate through all the array list elements? If there is a minor change in the array list data value, then how could I update the database values? Is i have to pass full array list or particular element in the array list? All the thinks should be in Generic.
Any help like code explanation, web links are appreciated.
Regards,
Senthil
God has been pleased to place as a king or cobbler do the work sincerely
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|