| Author |
Collections with replace function
|
Ram Adsumalli
Ranch Hand
Joined: Oct 16, 2006
Posts: 64
|
|
hi, Could any one help me out with the following scenario. If i had list that contatins 10 objects and modifed 5 objects from that. if we want to rupdate to the orginal list with 5 modifed obejcts. Can i use method from the collections. Thanks, Ram
|
 |
Christophe Verré
Sheriff
Joined: Nov 24, 2005
Posts: 14669
|
|
modifed 5 objects from that
If you modified objects from the list, you don't need to replace anything at all.
|
[My Blog]
All roads lead to JavaRanch
|
 |
Ram Adsumalli
Ranch Hand
Joined: Oct 16, 2006
Posts: 64
|
|
Hi My List is in Session. I want to modify some objects from the list and want to update that particluar objects again back in session list Thanks, Ram
|
 |
Christophe Verré
Sheriff
Joined: Nov 24, 2005
Posts: 14669
|
|
This does not change my previous statement. Here is some fake code, with a list containing two users: You don't need to replace anything in the list if you change objects that you have taken from the list. Sorry, but your problem is still not clear.
|
 |
 |
|
|
subject: Collections with replace function
|
|
|