title: Splitting arraylist to 6 elements each
body: <p>I want to split an array list into smaller separate lists with 6 elements in each of them. For example, a user will input the following information:</p>
  
  <p>HKY SGP 18:00 2 9:00 400</p>
  
  <p>CHN HKY 17:00 3 6:00 500</p>
  
  <p>RRK SSK 19:00 1 7:00 300</p>
  
  <p>These info will be stored into an arraylist. Then i want to separate this arraylist, so that the info will be like this:</p>
  
  <p>List 1: HKY SGP 18:00 2 9:00 400</p>
  
  <p>List 2: CHN HKY 17:00 3 6:00 500</p>
  
  <p>List 3: RRK SSK 19:00 1 7:00 300</p>
  
  <p>This is to compare this lists with another arraylist and extract certain information.</p>
  
  <p>Any help is appreciated and if question is not clear, please do inform me.</p>
  
  <p>Thank you!</p>