title: How to process a list of objects in parallel processing in Java
body: <p>I have a list of objects in Java like thousand objects in a List and I am iterating the List for every object and further processing . The same processing is hapening for every objects. This sequentail approach is taking much time for processing so, I want to achieve with parallel processing in Java. I checked executor framework in Java but I got stuck in it. </p>
  
  <p>I thought one approach to implement my requirement.</p>
  
  <p>I want to implement  some fixed number of minimum objects will be processed by each thread so that each thread do its work and process objects in a quick manner. How can I acheive this ? Or If any other approach is ther for implementing my requirement pls share.</p>
  
  <p>Eg:</p>
  
  <p>List  objects  = new List(); </p>
  
  <p>For(Object object : objects)  {
   //Doing some common operation for all 
  Objects </p>
  
  <p>}</p>