I have a list of objects with list size of 500K. Each object in the list have a unique identifier. I want to validate the list for any duplicate objects(having the same identifier) and mark them with a flag. Since there are lot of elements in the list, the processing takes quite long time and i am not able to achieve within allotted time frame.
Is there any way to process the list in parallel(Using java Future/Callable)?
Thanks in advance. Mayuran