title: dividing arraylist into multiple arraylists
body: <p>My program creates an arraylist of 5000 to 60000 records depending on time of day. I want to split it into as many arraylists as possible that each arraylist will have 1000 records. I looked at many examples online and tried a few things but I ran into strange problems. Can you please show me an example of this?</p>
  
  <p>Regards!</p>