Java- How to modify existing object with new value available in array list? -


i have 1 value object set 10 rows after retrieved values db.

i want update 1 of value in existing 10 rows(objects) new values.

new values available in list. how set these values ?

you can given

    for(int i=0;i<arraylist.size();i++)  {  object object = arraylist.get(i);  object.setfield(newvalue);  } 

Comments

Popular posts from this blog

android - questions about switching from C2DM to GCM -

c++ - Qt setGeometry: Unable to set geometry -

batch file - How to extract all multi-volume RAR archives from subfolders of a folder? -