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

c# - Better 64-bit byte array hash -

webrtc - Which ICE candidate am I using and why? -

php - Zend Framework / Skeleton-Application / Composer install issue -