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
Post a Comment