Also on the assumptions thats
= your ProductData class implements the equality and hashcode methods
=  those methods use your 'id' field
= You have a ProductData constructor that takes the id field

you should simply be able to do:

productList.remove(new ProductData(workingItemId));

no need to iterate.
Thanks
Jon

Reply via email to