Is there anyway to split ArrayList into different parts without knowing size of it until runtime? I know there is a method called:
list.subList(a,b);
listSize = oldlist.size(); chunksize =1000; chunks = list.size()/chunksize; ArrayList subLists; ArrayList finalList; int count = -1; for(int i=0;i
You can use this finalList as it contains the list of chuncks of the oldList.