I have two lists which contain the same type of POJO Objects. But POJO objects of one of the list gets modified, so I should update other lists which also contains the same POJO object by comparing its name.
Example :
List 1 contains 100 cars..
List 2 also contains same 100 cars
(Model objects. But in list 2 some of the cars(Model) object gets modified. So need to update those values in List 1.
Instead of iteration is there any other way to do comparison efficiently and update POJO objects in another list